flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [06/21] git commit: [flex-asjs] [refs/heads/tlf] - BoundsUtil didn't seem to be implemented. Seems like we can just implement getBounds instead
Date Mon, 08 May 2017 18:59:18 GMT
BoundsUtil didn't seem to be implemented.  Seems like we can just implement getBounds instead


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

Branch: refs/heads/tlf
Commit: 7ac185e1d403fea0ab9c0d4f1a46b44aa955995d
Parents: 0367510
Author: Alex Harui <aharui@apache.org>
Authored: Sat May 6 21:35:09 2017 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Mon May 8 11:59:01 2017 -0700

----------------------------------------------------------------------
 .../main/flex/org/apache/flex/textLayout/edit/SelectionManager.as  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ac185e1/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/SelectionManager.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/SelectionManager.as
b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/SelectionManager.as
index c13373f..de9a73c 100644
--- a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/SelectionManager.as
+++ b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/SelectionManager.as
@@ -1414,7 +1414,7 @@ package org.apache.flex.textLayout.edit
 				if (lastLineIndexInColumn == -1)
 					lastLineIndexInColumn = testIndex;
 
-				var bounds:Rectangle = BoundsUtil.getBounds(rtTextLine, controller.container);// rtTextLine.getBounds(DisplayObject(controller.container));
+				var bounds:Rectangle = rtTextLine.getBounds(controller.container);// rtTextLine.getBounds(DisplayObject(controller.container));
 				// trace(testIndex.toString(),":",bounds.toString());
 
 				var linePerpCoor:Number = isTTB ? bounds.left : bounds.bottom;


Mime
View raw message