Skip to content

Commit

Permalink
続きを描く画面の一瞬の描画アニメ再生もスキップする。
Browse files Browse the repository at this point in the history
  • Loading branch information
satopian committed Dec 21, 2024
1 parent 0b4ce13 commit 65330c8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion petitnote/app/neo/neo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 65330c8

Please sign in to comment.