Merge pull request #5352 from GogoVega/fix-5347-history

Fix invalid `dirty` state during redo after deployment
This commit is contained in:
Nick O'Leary
2025-12-03 14:39:15 +00:00
committed by GitHub

View File

@@ -833,8 +833,8 @@ RED.history = (function() {
return {
//TODO: this function is a placeholder until there is a 'save' event that can be listened to
markAllDirty: function() {
for (var i=0;i<undoHistory.length;i++) {
undoHistory[i].dirty = true;
for (const event of [...undoHistory, ...redoHistory]) {
event.dirty = true;
}
},
list: function() {