mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 08:11:54 +08:00
Properly pass non-arrow keydown events
This commit is contained in:
+1
-1
@@ -569,7 +569,7 @@
|
||||
Engine.activeModule.keyDown(e);
|
||||
}
|
||||
}
|
||||
return !(jQuery.inArray(e.keycode, [37,38,39,40]));
|
||||
return jQuery.inArray(e.keycode, [37,38,39,40]) < 0;
|
||||
},
|
||||
|
||||
keyUp: function(e) {
|
||||
|
||||
Reference in New Issue
Block a user