You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/12/18 23:56:40 UTC
[royale-asjs] 01/02: emulate keyCode
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 1c9c62a909f8a62197a9ccb44eb62e69f1490447
Author: Alex Harui <ah...@apache.org>
AuthorDate: Wed Dec 18 15:53:56 2019 -0800
emulate keyCode
---
frameworks/projects/MXRoyale/src/main/royale/mx/events/KeyboardEvent.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/events/KeyboardEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/events/KeyboardEvent.as
index d520358..82d4003 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/KeyboardEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/KeyboardEvent.as
@@ -103,7 +103,7 @@ public class KeyboardEvent extends org.apache.royale.events.KeyboardEvent
public function get keyCode():uint
{
- return 0;
+ return nativeEvent["keyCode"];
}
public function set keyCode(val:uint):void