插件替换

main
戴面具的乐子人 10 months ago
parent 9d57e3e79c
commit 1fefcb9b4c

@ -4063,30 +4063,13 @@ Window_Selectable.prototype.RefreshZzyXTQJ = function()
//asd
//---魔改--- v1.00 重写 processTouch 此处可能会造成不兼容的情况 //---魔改--- v1.00 重写 processTouch 此处可能会造成不兼容的情况
Window_QuestData.prototype.processTouch = function() { 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_Selectable.prototype.processTouch.call(this);
//刷新关闭Touch //刷新关闭Touch
if(!this._touching) if(!this._touching)

Loading…
Cancel
Save