flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [15/16] git commit: [flex-asjs] [refs/heads/develop] - fix bug in MouseEvent
Date Mon, 05 Jan 2015 23:21:34 GMT
fix bug in MouseEvent


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

Branch: refs/heads/develop
Commit: 1f9061d444a0e752e511f7acf49c28ae934d580f
Parents: a8dc13a
Author: Alex Harui <aharui@apache.org>
Authored: Mon Jan 5 14:26:31 2015 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Jan 5 15:21:02 2015 -0800

----------------------------------------------------------------------
 frameworks/js/FlexJS/src/org/apache/flex/events/MouseEvent.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f9061d4/frameworks/js/FlexJS/src/org/apache/flex/events/MouseEvent.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/events/MouseEvent.js b/frameworks/js/FlexJS/src/org/apache/flex/events/MouseEvent.js
index ac9d632..885bb02 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/events/MouseEvent.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/events/MouseEvent.js
@@ -151,7 +151,7 @@ org.apache.flex.events.MouseEvent.mouseOverHandler = function(e) {
     for (var i = 0; i < n; i++) {
       me = org.apache.flex.events.MouseEvent.makeMouseEvent(
                    org.apache.flex.events.MouseEvent.ROLL_OVER, e);
-                   newTargets[i].dispatchEvent(me);
+      newTargets[i].dispatchEvent(me);
     }
     org.apache.flex.events.MouseEvent.targets = targets.concat(newTargets);
   }
@@ -183,6 +183,6 @@ org.apache.flex.events.MouseEvent.makeMouseEvent = function(type, e) {
   out.screenY = e.screenY;
   out.ctrlKey = e.ctrlKey;
   out.shiftKey = e.shiftKey;
-  out.alttKey = e.altKey;
+  out.altKey = e.altKey;
   return out;
-};
+};
\ No newline at end of file


Mime
View raw message