From ab5c75ec1b298600eab24624d91bf489f3738e0a Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Sun, 20 Mar 2022 21:09:33 +1100
Subject: Add offset between root tile and display boundary

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

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

diff --git a/src/components/Tile.vue b/src/components/Tile.vue
index 444ee9a..5b0fbd1 100644
--- a/src/components/Tile.vue
+++ b/src/components/Tile.vue
@@ -3,7 +3,7 @@ import {defineComponent, PropType} from 'vue';
 import {LayoutNode} from '../lib';
 
 // Configurable settings
-let options = {
+const defaultOptions = {
 	borderRadius: 5, //px
 	shadowNormal: '0 0 2px black',
 	shadowWithHover: '0 0 1px 2px greenyellow',
@@ -32,7 +32,7 @@ export default defineComponent({
 	},
 	data(){
 		return {
-			options: options,
+			options: defaultOptions,
 			// Used during transitions and to emulate/show an apparently-joined div
 			zIdx: 0,
 			overflow: 'visible',
-- 
cgit v1.2.3

