Revert "FLEX-35337 place tool tip anchor point in the centre rather than the bottom right"
This reverts commit 3891820488387121767c92e1cf9c132f6e858496. Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/c5b71c41 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/c5b71c41 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/c5b71c41 Branch: refs/heads/develop Commit: c5b71c418676bce2088b94bde5b315819decc059 Parents: 39a4765 Author: Justin Mclean <jmcl...@apache.org> Authored: Thu Jul 13 14:22:20 2017 +1000 Committer: Justin Mclean <jmcl...@apache.org> Committed: Thu Jul 13 14:22:20 2017 +1000 ---------------------------------------------------------------------- .../src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c5b71c41/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 5f93579..8e64f3a 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 @@ -124,7 +124,7 @@ package org.apache.flex.html.accessories protected function determinePosition(event:MouseEvent, base:Object):Point { var comp:IUIBase = _strand as IUIBase; - var pt:Point = new Point(comp.width/2, comp.height/2); + var pt:Point = new Point(comp.width, comp.height); pt = PointUtils.localToGlobal(pt, comp); return pt; }