You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2017/05/09 18:00:03 UTC

[5/6] git commit: [flex-asjs] [refs/heads/tlf] - keyboard for firefox and chrome

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 <ah...@apache.org>
Authored: Tue May 9 10:47:35 2017 -0700
Committer: Alex Harui <ah...@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