Skip to content

Commit

Permalink
NEO更新。描画アニメーションをスキップして続きを描く時にアンドゥするとキャンバスが空白になったままになる問題を修正。
Browse files Browse the repository at this point in the history
  • Loading branch information
satopian committed Jan 14, 2025
1 parent 866ddc3 commit 6010f17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion potiboard5/neo.js
Original file line number Diff line number Diff line change
Expand Up @@ -6342,6 +6342,7 @@ Neo.ActionManager.prototype.play = function () {

if (Neo.painter.busySkipped) {
Neo.painter.busySkipped = false;
Neo.painter.dirty = true;
console.log("animation skipped");
} else {
console.log("animation finished");
Expand All @@ -6351,7 +6352,7 @@ Neo.ActionManager.prototype.play = function () {

var item = this._items[this._head];

if (!Neo.viewer) {
if (!Neo.viewer && !Neo.painter.busySkipped) {
Neo.painter._pushUndo(
0,
0,
Expand Down

0 comments on commit 6010f17

Please sign in to comment.