mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
fix keyManager
This commit is contained in:
parent
d6f1496763
commit
95bfc599e8
@ -48,6 +48,9 @@
|
|||||||
var eventToTrigger = this.KeyboardActions_.ctrl[letter];
|
var eventToTrigger = this.KeyboardActions_.ctrl[letter];
|
||||||
if(eventToTrigger) {
|
if(eventToTrigger) {
|
||||||
$.publish(eventToTrigger);
|
$.publish(eventToTrigger);
|
||||||
|
|
||||||
|
evt.preventDefault();
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user