From 1fefcb9b4c9820d7ba730ea15b19cac1a8aa64af Mon Sep 17 00:00:00 2001 From: lzr <1838979562@qq.com> Date: Mon, 4 Mar 2024 19:02:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=92=E4=BB=B6=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/plugins/YEP_QuestJournal.js | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/js/plugins/YEP_QuestJournal.js b/js/plugins/YEP_QuestJournal.js index a964d4f..1ba7026 100644 --- a/js/plugins/YEP_QuestJournal.js +++ b/js/plugins/YEP_QuestJournal.js @@ -4063,30 +4063,13 @@ Window_Selectable.prototype.RefreshZzyXTQJ = function() - +//asd //---魔改--- v1.00 重写 processTouch 此处可能会造成不兼容的情况 -Window_QuestData.prototype.processTouch = function() { - if (this.isOpenAndActive() || SceneManager._scene._listWindow.active) - { - if (TouchInput.isTriggered() && this.isTouchedInsideFrame()) { - this._touching = true; - this.onTouch(true); - } else if (TouchInput.isCancelled()) { - if (this.isCancelEnabled()) { - this.processCancel(); - } - } - if (this._touching) { - if (TouchInput.isPressed()) { - this.onTouch(false); - } else { - this._touching = false; - } - } - } else { - this._touching = false; - } +Window_QuestData.prototype.processTouch = function() +{ + + Window_Selectable.prototype.processTouch.call(this); //刷新关闭Touch if(!this._touching)