make sure that markers are correct without reinit

This commit is contained in:
Kevin Jahns
2021-12-06 21:22:18 +01:00
parent 4356d70ed0
commit 6230abb78c
3 changed files with 1 additions and 16 deletions

View File

@@ -594,6 +594,7 @@ export class Item extends AbstractStruct {
if (searchMarker) {
for (let i = searchMarker.length - 1; i >= 0; i--) {
if (searchMarker[i].nextItem === right) {
// @todo do something more efficient than splicing..
searchMarker.splice(i, 1)
}
}