Fix selection system undo bug

This commit is contained in:
JannisX11 2024-09-11 23:29:06 +02:00
parent adcbf80f83
commit 33c69927a4

View File

@ -145,7 +145,7 @@ function updateSelection(options = {}) {
}
})
for (var i = Outliner.selected.length-1; i >= 0; i--) {
if (!selected.includes(Outliner.selected[i])) {
if (!Project.elements.includes(Outliner.selected[i])) {
Outliner.selected.splice(i, 1)
}
}