diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-03-20 21:09:33 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-03-20 21:09:33 +1100 |
| commit | ab5c75ec1b298600eab24624d91bf489f3738e0a (patch) | |
| tree | f23c9103cc2895279dc97a9144eab8118753c016 /src/components/Tile.vue | |
| parent | 9f3492dad0a37361ca796e8c4de2bfc32328b554 (diff) | |
Add offset between root tile and display boundary
Diffstat (limited to 'src/components/Tile.vue')
| -rw-r--r-- | src/components/Tile.vue | 4 |
1 files changed, 2 insertions, 2 deletions
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', |
