From 7cdd3ae45c2544b239d85174d536fa641f01cf38 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Wed, 9 Mar 2022 23:32:04 +1100
Subject: Re-position headers for parent-area-using tile-groups

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

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

diff --git a/src/components/TileTree.vue b/src/components/TileTree.vue
index a772594..4ce3f28 100644
--- a/src/components/TileTree.vue
+++ b/src/components/TileTree.vue
@@ -27,14 +27,14 @@ export default {
 			let tree = {
 				tolNode:tol, children:[],
 				x:0, y:0, w:0, h:0, headerSz:0,
-				sideArea:{x:0, y:0, w:0, h:0, sweptLeft:false, extraSz:0},
+				sideArea:null,
 			};
 			function initTreeRec(tree, lvl){
 				if (lvl > 0)
 					tree.children = tree.tolNode.children.map(tNode => initTreeRec({
 						tolNode: tNode, children: [],
 						x:0, y:0, w:0, h:0, headerSz:0,
-						sideArea:{x:0, y:0, w:0, h:0, sweptLeft:false, extraSz:0},
+						sideArea:null,
 					}, lvl-1));
 				return tree;
 			}
@@ -97,7 +97,7 @@ export default {
 					n.y += layout.sideArea.y;
 				});
 			} else {
-				tree.sideArea = {x:0, y:0, w:0, h:0, sweptLeft:false, extraSz:0};
+				tree.sideArea = null;
 			}
 		}
 	},
-- 
cgit v1.2.3

