From 8acbc23bbff51197988fbdcf06e13d2b9a757b72 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Wed, 23 Mar 2022 18:07:35 +1100
Subject: Add TileImg for use by Tile and ParentBar. Remove scrim divs.

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

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

diff --git a/src/components/TileTree.vue b/src/components/TileTree.vue
index 3ea21b4..d36949e 100644
--- a/src/components/TileTree.vue
+++ b/src/components/TileTree.vue
@@ -96,9 +96,9 @@ export default defineComponent({
 		},
 		parentBarDims(){
 			if (this.wideArea){
-				return [this.parentBarSz, this.dims[1]]
+				return [this.parentBarSz, this.dims[1]] as [number, number];
 			} else {
-				return [this.dims[0], this.parentBarSz];
+				return [this.dims[0], this.parentBarSz] as [number, number];
 			}
 		},
 		styles(): Record<string,string> {
-- 
cgit v1.2.3

