Fixed return char text tool bug

This commit is contained in:
Lewis Hemens 2014-02-09 18:34:48 +00:00
parent 150b8810ec
commit 7317fbaf23
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ ascii.Controller.prototype.updateButtons = function(id) {
* @param {Object} event
*/
ascii.Controller.prototype.handleKeyPress = function(event) {
if (!event.ctrlKey && !event.metaKey) {
if (!event.ctrlKey && !event.metaKey && event.keyCode != 13) {
this.drawFunction.handleKey(String.fromCharCode(event.keyCode));
this.view.dirty = true;
}