Increase maximum number of undo levels to 1000

This commit is contained in:
David Rowe 2017-09-15 09:55:14 +12:00
parent f1572a165a
commit c6af82dedc

View file

@ -45,7 +45,7 @@ History = (function () {
} }
*/ */
], ],
MAX_HISTORY_ITEMS = 100, MAX_HISTORY_ITEMS = 1000,
undoPosition = -1, // The next history item to undo; the next history item to redo = undoIndex + 1. undoPosition = -1, // The next history item to undo; the next history item to redo = undoIndex + 1.
undoData = {}, undoData = {},
redoData = {}; redoData = {};