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 <jmcl...@apache.org> Authored: Sat Jul 15 11:30:47 2017 +1000 Committer: Justin Mclean <jmcl...@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;