Fix major bug in layout iteration

This commit is contained in:
Ian Gulliver
2019-07-16 06:13:53 +00:00
parent a40c8ea1fc
commit 87f8d6edd8
3 changed files with 10 additions and 11 deletions

View File

@@ -132,10 +132,12 @@ class LayoutNode {
savePos() {
this.savedPos_ = this.pos;
this.savedVec_ = Array.from(this.vec);
}
restorePos() {
this.moveTo(this.savedPos_);
this.vec = this.savedVec_;
}
getStep() {