Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
Victor Seiji Hariki 2023-01-04 21:32:10 -03:00
parent f3eaa84a76
commit a2a7c7266f
2 changed files with 2 additions and 2 deletions

View file

@ -327,7 +327,7 @@
<script src="js/lib/events.js?v=2ab7933" type="text/javascript"></script>
<script src="js/lib/input.js?v=09298ac" type="text/javascript"></script>
<script src="js/lib/layers.js?v=a1f8aea" type="text/javascript"></script>
<script src="js/lib/commands.js?v=37e5ebf" type="text/javascript"></script>
<script src="js/lib/commands.js?v=e659a65" type="text/javascript"></script>
<script src="js/lib/toolbar.js?v=ca3fccf" type="text/javascript"></script>
<script src="js/lib/ui.js?v=76ede2b" type="text/javascript"></script>

View file

@ -48,7 +48,7 @@ const commands = makeReadOnly(
for (var i = 0; i < n && this.current + 1 < this._history.length; i++) {
try {
await this._history[++this._current].redo();
} catch {
} catch (e) {
console.warn("[commands] Failed to redo command");
console.warn(e);
this._current--;