seems I broke redo

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
Victor Seiji Hariki 2023-01-04 21:52:45 -03:00
parent 0d526ed610
commit e54f0977dc
2 changed files with 3 additions and 1 deletions

View file

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

View file

@ -83,6 +83,8 @@ const commands = makeReadOnly(
redo: run, redo: run,
}); });
const redo = options.redo;
const command = async function runWrapper(title, options, extra) { const command = async function runWrapper(title, options, extra) {
// Create copy of options and state object // Create copy of options and state object
const copy = {}; const copy = {};