From f00b7ffc810a040bd15246addc8cf024ff9b469d Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Tue, 15 Mar 2022 01:48:41 +1100
Subject: Make root tile centered in view

---
 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 461dab0..36180c0 100644
--- a/src/components/TileTree.vue
+++ b/src/components/TileTree.vue
@@ -86,7 +86,7 @@ export default defineComponent({
 <div class="h-[100vh]">
 	<tile :layoutNode="layoutTree.root"
 		:headerSz="layoutOptions.headerSz" :tileSpacing="layoutOptions.tileSpacing"
-		:transitionDuration="otherOptions.transitionDuration"
+		:transitionDuration="otherOptions.transitionDuration" :center="[width,height]"
 		@tile-clicked="onInnerTileClicked" @header-clicked="onInnerHeaderClicked"></tile>
 </div>
 </template>
-- 
cgit v1.2.3

