mirror of
https://github.com/wassname/phaser.git
synced 2026-08-17 11:23:42 +08:00
Added in frameName support for animations and easy setting of sprites born from a texture atlas (all for you Jesse!)
This commit is contained in:
@@ -23,7 +23,7 @@ class Keyboard {
|
||||
|
||||
public onKeyDown(event: KeyboardEvent) {
|
||||
|
||||
event.preventDefault();
|
||||
//event.preventDefault();
|
||||
|
||||
if (!this._keys[event.keyCode])
|
||||
{
|
||||
@@ -39,7 +39,7 @@ class Keyboard {
|
||||
|
||||
public onKeyUp(event: KeyboardEvent) {
|
||||
|
||||
event.preventDefault();
|
||||
//event.preventDefault();
|
||||
|
||||
if (!this._keys[event.keyCode])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user