From 97ddb2c84b1eeb96d476f3214c1f9be96cfc7d77 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Fri, 11 Mar 2022 00:49:57 +1100
Subject: Add LayoutNode class

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

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

diff --git a/src/components/TileTree.vue b/src/components/TileTree.vue
index debf77a..34a2cf6 100644
--- a/src/components/TileTree.vue
+++ b/src/components/TileTree.vue
@@ -10,6 +10,7 @@ function preprocessTol(tree){
 	}
 }
 preprocessTol(tol);
+//tol-node format: {name: string1, children: [node1, ...]}
 
 import {staticSqrLayout, staticRectLayout, sweepToSideLayout, layoutInfoHooks, shiftEmpty} from '/src/layout.js';
 let LAYOUT_FUNC = sweepToSideLayout;
@@ -89,7 +90,6 @@ export default {
 			}
 		},
 		applyLayout(layout, tree){
-			//layout format: {x, y, w, h, headerSz, children:[layout1, ...], contentW, contentH, empSpc, sideArea}
 			tree.x = layout.x;
 			tree.y = layout.y;
 			tree.w = layout.w;
-- 
cgit v1.2.3

