You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cj...@apache.org on 2014/11/25 05:39:42 UTC

git commit: [flex-sdk] [refs/heads/develop] - FLEX-34476 Small code cleanup of RichTextEditor

Repository: flex-sdk
Updated Branches:
  refs/heads/develop fb48bb700 -> d5f7eb42c


FLEX-34476 Small code cleanup of RichTextEditor


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/d5f7eb42
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/d5f7eb42
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/d5f7eb42

Branch: refs/heads/develop
Commit: d5f7eb42c084da0b4f28e1a4b6300aa4dcd4c963
Parents: fb48bb7
Author: cjaube <cu...@piematrix.com>
Authored: Mon Nov 24 23:39:25 2014 -0500
Committer: cjaube <cu...@piematrix.com>
Committed: Mon Nov 24 23:39:25 2014 -0500

----------------------------------------------------------------------
 .../components/richTextEditorClasses/AlignTool.mxml   | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/d5f7eb42/frameworks/projects/experimental/src/spark/components/richTextEditorClasses/AlignTool.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/experimental/src/spark/components/richTextEditorClasses/AlignTool.mxml b/frameworks/projects/experimental/src/spark/components/richTextEditorClasses/AlignTool.mxml
index e9ba133..615532c 100644
--- a/frameworks/projects/experimental/src/spark/components/richTextEditorClasses/AlignTool.mxml
+++ b/frameworks/projects/experimental/src/spark/components/richTextEditorClasses/AlignTool.mxml
@@ -20,20 +20,8 @@ limitations under the License.
 <s:ButtonBar arrowKeysWrapFocus="true" mouseFocusEnabled="false" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
 			 xmlns:s="library://ns.adobe.com/flex/spark">
 	<fx:Script>
-		<![CDATA[
-			import mx.collections.ArrayList;
-			import mx.core.UIComponent;
-			
+		<![CDATA[			
 			import flashx.textLayout.formats.TextAlign;
-
-			public override function addChildAt(child:DisplayObject, index:int):DisplayObject
-			{
-				if(child is UIComponent)
-				{
-					(child as UIComponent).toolTip = null;
-				}
-				return super.addChildAt(child, index);
-			}
 			
 			/**
 			 *  The selected text align