flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [5/6] git commit: [flex-asjs] [refs/heads/tlf] - keyboard for firefox and chrome
Date Tue, 09 May 2017 18:00:03 GMT
keyboard for firefox and chrome


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

Branch: refs/heads/tlf
Commit: 1ea5cd21c26bca2255828b3302dfde5245022ec2
Parents: 85f5ffa
Author: Alex Harui <aharui@apache.org>
Authored: Tue May 9 10:47:35 2017 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue May 9 10:47:35 2017 -0700

----------------------------------------------------------------------
 .../apache/flex/textLayout/beads/DispatchTLFKeyboardEventBead.as   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1ea5cd21/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/beads/DispatchTLFKeyboardEventBead.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/beads/DispatchTLFKeyboardEventBead.as
b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/beads/DispatchTLFKeyboardEventBead.as
index 4a9855a..495532c 100644
--- a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/beads/DispatchTLFKeyboardEventBead.as
+++ b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/beads/DispatchTLFKeyboardEventBead.as
@@ -213,7 +213,7 @@ package org.apache.flex.textLayout.beads
 			{
 				var textEvent:org.apache.flex.text.events.TextEvent = new org.apache.flex.text.events.TextEvent(TextEvent.TEXT_INPUT);
 				if (event.key != null)
-					textEvent.text = String.fromCharCode(event.key);
+					textEvent.text = event.key;
 				else if (event['which'] != null)
 					textEvent.text = String.fromCharCode(event['which']);				  
 				else


Mime
View raw message