From 65330c81f00504c01cd389a96416270325e89088 Mon Sep 17 00:00:00 2001 From: satopian Date: Sat, 21 Dec 2024 21:41:57 +0900 Subject: [PATCH] =?UTF-8?q?=E7=B6=9A=E3=81=8D=E3=82=92=E6=8F=8F=E3=81=8F?= =?UTF-8?q?=E7=94=BB=E9=9D=A2=E3=81=AE=E4=B8=80=E7=9E=AC=E3=81=AE=E6=8F=8F?= =?UTF-8?q?=E7=94=BB=E3=82=A2=E3=83=8B=E3=83=A1=E5=86=8D=E7=94=9F=E3=82=82?= =?UTF-8?q?=E3=82=B9=E3=82=AD=E3=83=83=E3=83=97=E3=81=99=E3=82=8B=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- petitnote/app/neo/neo.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/petitnote/app/neo/neo.js b/petitnote/app/neo/neo.js index f7fe315..0c87aa5 100644 --- a/petitnote/app/neo/neo.js +++ b/petitnote/app/neo/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;