diff options
Diffstat (limited to 'src/components/TileTree.vue')
| -rw-r--r-- | src/components/TileTree.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/TileTree.vue b/src/components/TileTree.vue index dd91fcb..65201c5 100644 --- a/src/components/TileTree.vue +++ b/src/components/TileTree.vue @@ -71,11 +71,11 @@ export default { }, tryLayout(){ let layout = LAYOUT_SYS.genLayout(this.tree, 0, 0, this.width, this.height, true); - shiftEmpty(layout); if (layout == null){ console.log('Unable to layout tree'); return false; } else { + shiftEmpty(layout); this.applyLayout(layout, this.tree); return true; } |
