Create StringMap

This commit is contained in:
Ian Gulliver
2019-07-05 16:18:22 +00:00
parent 396436aa01
commit 29babaf1e0
4 changed files with 36 additions and 18 deletions

View File

@@ -45,7 +45,7 @@ class LayoutGroup {
}
// Fix up nodesByPos, as intra-group collisions may have corrupted it
for (let node of this.nodes) {
this.nodesByPos_.set(node.pos.toString(), node);
this.nodesByPos_.set(node.pos, node);
}
}