Commit 601dc4b
committed
fix: reset currentSelectedNodes in clearHistory() and add missing review fixes
- Reset currentSelectedNodes to [] so stale selection IDs from the
previous diagram cannot corrupt undo/redo selection restoration after
a refresh + clearHistory() call.
- (types updated in next commit to mark clearHistory as optional)1 parent e6e688b commit 601dc4b
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
0 commit comments