From d372e807a5ac57cab533e06f6249bec2d28a0d37 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Fri, 11 Jul 2014 09:35:49 +0200 Subject: [PATCH] tweak glitch in event.keyCode/charCode Thanks, Michael! --- morphic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morphic.js b/morphic.js index 66f4a326..2690f06d 100644 --- a/morphic.js +++ b/morphic.js @@ -4508,7 +4508,7 @@ CursorMorph.prototype.processKeyPress = function (event) { if (event.ctrlKey) { this.ctrl(event.charCode, event.shiftKey); } else if (event.metaKey) { - this.cmd(event.keyCode, event.shiftKey); + this.cmd(event.charCode, event.shiftKey); } else { this.insert( String.fromCharCode(event.charCode),