From 92c4a2e84dc6338e13e3f0cdc15bf3efe88cc330 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Tue, 26 Dec 2017 16:58:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E9=94=AE=E7=9B=98=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/events.js | 6 +++--- 快捷键说明.txt | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/libs/events.js b/libs/events.js index c4846bf8..bfd97a79 100644 --- a/libs/events.js +++ b/libs/events.js @@ -1153,7 +1153,7 @@ events.prototype.keyDownSwitchs = function (keycode) { } if (keycode==40) { core.status.event.selection++; - if (core.status.event.selection>=choices.length) core.status.event.selection=choices.length; + if (core.status.event.selection>=choices.length) core.status.event.selection=choices.length-1; core.ui.drawChoices(core.status.event.ui.text, core.status.event.ui.choices); } } @@ -1230,7 +1230,7 @@ events.prototype.keyDownSettings = function (keycode) { } if (keycode==40) { core.status.event.selection++; - if (core.status.event.selection>=choices.length) core.status.event.selection=choices.length; + if (core.status.event.selection>=choices.length) core.status.event.selection=choices.length-1; core.ui.drawChoices(core.status.event.ui.text, core.status.event.ui.choices); } } @@ -1295,7 +1295,7 @@ events.prototype.keyDownSyncSave = function (keycode) { } if (keycode==40) { core.status.event.selection++; - if (core.status.event.selection>=choices.length) core.status.event.selection=choices.length; + if (core.status.event.selection>=choices.length) core.status.event.selection=choices.length-1; core.ui.drawChoices(core.status.event.ui.text, core.status.event.ui.choices); } } diff --git a/快捷键说明.txt b/快捷键说明.txt index 5d1d2c4d..6af4ef36 100644 --- a/快捷键说明.txt +++ b/快捷键说明.txt @@ -2,6 +2,7 @@ === 全局 === [↑][↓][←][→] 移动勇士 +[CTRL] 跳过对话 [X] 打开/关闭怪物手册 [G] 打开/关闭楼层传送器 [S] 打开/关闭存档页面