From a69867d6940fba453ea17ca2daaafbad1e6f8681 Mon Sep 17 00:00:00 2001 From: satopian Date: Sat, 21 Dec 2024 23:22:27 +0900 Subject: [PATCH] =?UTF-8?q?NEO=20v1.6.11=20=E3=82=A2=E3=83=8B=E3=83=A1?= =?UTF-8?q?=E3=83=BC=E3=82=B7=E3=83=A7=E3=83=B3=E3=82=92=E3=82=B9=E3=82=AD?= =?UTF-8?q?=E3=83=83=E3=83=97=E3=81=99=E3=82=8B=E6=99=82=E3=81=AFrestore?= =?UTF-8?q?=E3=81=AE=E3=81=BF=E3=82=92=E9=96=A2=E6=95=B0=E3=81=A8=E3=81=97?= =?UTF-8?q?=E3=81=A6=E6=89=B1=E3=81=86=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- potiboard5/neo.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/potiboard5/neo.js b/potiboard5/neo.js index f7fe3158..0c87aa5c 100644 --- a/potiboard5/neo.js +++ b/potiboard5/neo.js @@ -6300,7 +6300,14 @@ Neo.ActionManager.prototype.play = function () { //console.log("play", item[0], this._head + 1, this._items.length); } - var func = item[0] && this[item[0]] ? item[0] : "dummy"; + var func; + if (Neo.painter.busySkipped) { + //アニメーションをスキップする時はrestoreのみを関数として扱う + func = item[0] && this[item[0]] && item[0] == "restore" ? item[0] : "dummy"; + } else { + func = item[0] && this[item[0]] ? item[0] : "dummy"; + } + var that = this; var wait = this._prevSpeed < 0 ? 0 : this._prevSpeed;