diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-03-15 01:48:41 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-03-15 01:48:41 +1100 |
| commit | f00b7ffc810a040bd15246addc8cf024ff9b469d (patch) | |
| tree | c5309593ccc4d56d9630562cc077abe82377fd85 /src/components/TileTree.vue | |
| parent | d5bb1a59ad603cecb55936dd521362f8f4400376 (diff) | |
Make root tile centered in view
Diffstat (limited to 'src/components/TileTree.vue')
| -rw-r--r-- | src/components/TileTree.vue | 2 |
1 files changed, 1 insertions, 1 deletions
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> |
