mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-02-17 16:20:13 +08:00
Fix selection system undo bug
This commit is contained in:
parent
adcbf80f83
commit
33c69927a4
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user