From b1c77d658644822bd2b1ddf7c0e33acc2f3bd7fc Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Tue, 22 Mar 2022 23:29:42 +1100
Subject: Replace LayoutTree class with plain functions

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

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

diff --git a/src/components/Tile.vue b/src/components/Tile.vue
index 4009068..9b43082 100644
--- a/src/components/Tile.vue
+++ b/src/components/Tile.vue
@@ -90,7 +90,7 @@ export default defineComponent({
 				position: 'absolute',
 				left: this.options.leafHeaderX + 'px',
 				top: this.options.leafHeaderY + 'px',
-				maxWidth: this.layoutNode.hidden ? 0 : this.layoutNode.dims[0] - this.options.leafHeaderX * 2 + 'px',
+				maxWidth: (this.layoutNode.hidden ? 0 : this.layoutNode.dims[0] - this.options.leafHeaderX * 2) + 'px',
 				height: this.options.leafHeaderFontSz + 'px',
 				lineHeight: this.options.leafHeaderFontSz + 'px',
 				fontSize: this.options.leafHeaderFontSz + 'px',
-- 
cgit v1.2.3

