全键盘操作
This commit is contained in:
parent
f88a160064
commit
dcc8eeb0e7
@ -1091,6 +1091,9 @@ events.prototype.keyDownSL = function(keycode) {
|
|||||||
events.prototype.keyUpSL = function (keycode) {
|
events.prototype.keyUpSL = function (keycode) {
|
||||||
if (keycode==27 || (core.status.event.id == 'save' && keycode==83) || (core.status.event.id == 'load' && keycode==68)) {
|
if (keycode==27 || (core.status.event.id == 'save' && keycode==83) || (core.status.event.id == 'load' && keycode==68)) {
|
||||||
core.ui.closePanel();
|
core.ui.closePanel();
|
||||||
|
if (!core.isPlaying()) {
|
||||||
|
core.showStartAnimate();
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (keycode==13 || keycode==32) {
|
if (keycode==13 || keycode==32) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user