refactor: unnecessary lookup
This commit is contained in:
parent
49b36dabe6
commit
78bc85be49
|
@ -71,8 +71,8 @@ export class Listed extends Trait {
|
|||
if (!list) {
|
||||
return;
|
||||
}
|
||||
const quadTree = list.quadTree();
|
||||
if (this.quadTreeNodes) {
|
||||
const quadTree = list.quadTree();
|
||||
for (const node of this.quadTreeNodes) {
|
||||
quadTree.remove(node);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user