mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-06-11 23:17:12 +08:00
Make keydown return true unless arrow key
This commit is contained in:
+1
-1
@@ -549,7 +549,7 @@
|
|||||||
Engine.activeModule.keyDown(e);
|
Engine.activeModule.keyDown(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return !(jQuery.inArray(window.event.keycode, [37,38,39,40]));
|
||||||
},
|
},
|
||||||
|
|
||||||
keyUp: function(e) {
|
keyUp: function(e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user