From 60a299619fd89c7815d4cf58176d5ff9f35765c7 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Fri, 11 Mar 2022 11:20:38 +1100
Subject: Make rect-layout empty-space-shifting happen while laying out each
 cell

---
 src/components/TileTree.vue | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/components/TileTree.vue')

diff --git a/src/components/TileTree.vue b/src/components/TileTree.vue
index 34a2cf6..342ac92 100644
--- a/src/components/TileTree.vue
+++ b/src/components/TileTree.vue
@@ -12,7 +12,7 @@ function preprocessTol(tree){
 preprocessTol(tol);
 //tol-node format: {name: string1, children: [node1, ...]}
 
-import {staticSqrLayout, staticRectLayout, sweepToSideLayout, layoutInfoHooks, shiftEmpty} from '/src/layout.js';
+import {staticSqrLayout, staticRectLayout, sweepToSideLayout, layoutInfoHooks} from '/src/layout.js';
 let LAYOUT_FUNC = sweepToSideLayout;
 
 export default {
@@ -84,7 +84,6 @@ export default {
 				console.log('Unable to layout tree');
 				return false;
 			} else {
-				shiftEmpty(layout);
 				this.applyLayout(layout, this.tree);
 				return true;
 			}
-- 
cgit v1.2.3

