Repository: flex-asjs
Updated Branches:
  refs/heads/develop a25a2cb1a -> dd4672bf1


no need for bracket notation and moving AS mouse disable to constructor


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

Branch: refs/heads/develop
Commit: 135f1ebd725d8386d6f4ab49015154ed463daee1
Parents: a25a2cb
Author: Justin Mclean <jmcl...@apache.org>
Authored: Sat Jul 15 11:30:20 2017 +1000
Committer: Justin Mclean <jmcl...@apache.org>
Committed: Sat Jul 15 11:30:20 2017 +1000

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/html/ToolTip.as   | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/135f1ebd/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/ToolTip.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/ToolTip.as 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/ToolTip.as
index 97b2d27..1d39b4d 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/ToolTip.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/ToolTip.as
@@ -58,16 +58,10 @@ package org.apache.flex.html
                {
                        super();
                        className = "ToolTip";
-               }
-
-               /**
-                * @private
-                */
-               COMPILE::SWF
-               override public function addedToParent():void
-               {
-                       super.addedToParent();
-                       (element as InteractiveObject).mouseEnabled = false;
+                       COMPILE::SWF
+                       {
+                               mouseEnabled = false;
+                       }
                }
 
                /**
@@ -78,7 +72,7 @@ package org.apache.flex.html
         {
                        var element:WrappedHTMLElement = super.createElement();
                        positioner.style.position = 'absolute';
-                       positioner.style["pointer-events"] = "none";
+                       positioner.style.pointerEvents = "none";
                        typeNames = "ToolTip";
                        return element;
                }               

Reply via email to