You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2017/07/15 01:30:59 UTC

[2/2] git commit: [flex-asjs] [refs/heads/develop] - change value to large numbers as suggested

change value to large numbers as suggested


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

Branch: refs/heads/develop
Commit: dd4672bf147af7e08874acef26383aa20bcb35db
Parents: 135f1eb
Author: Justin Mclean <jm...@apache.org>
Authored: Sat Jul 15 11:30:47 2017 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Sat Jul 15 11:30:47 2017 +1000

----------------------------------------------------------------------
 .../flex/org/apache/flex/html/accessories/ToolTipBead.as | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dd4672bf/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
index a22283d..3ccf708 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
@@ -53,11 +53,11 @@ package org.apache.flex.html.accessories
 		{
 		}
 
-		public static const TOP:int = 0;
-		public static const BOTTOM:int = 1;
-		public static const LEFT:int = 2;
-		public static const RIGHT:int = 3;
-		public static const MIDDLE:int = 4;
+		public static const TOP:int = 10000;
+		public static const BOTTOM:int = 10001;
+		public static const LEFT:int = 10002;
+		public static const RIGHT:int = 10003;
+		public static const MIDDLE:int = 10004;
 
 		private var _toolTip:String;
 		private var tt:ToolTip;
@@ -159,6 +159,7 @@ package org.apache.flex.html.accessories
 			var xFactor:Number = 1;
 			var yFactor:Number = 1;
 			var pt:Point;
+			var relative:Boolean = _xPos > TOP &&  _yPos > TOP;
 
 			if (_xPos == LEFT) {
 				xFactor = Number.POSITIVE_INFINITY;