diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-03-22 23:29:42 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-03-22 23:29:42 +1100 |
| commit | b1c77d658644822bd2b1ddf7c0e33acc2f3bd7fc (patch) | |
| tree | 1fbbca4f32e060fa0e9717bc4cb152c52329f57c /src/components/Tile.vue | |
| parent | 7bc4522be1ef1e49591dbe0a924754e61ed6abe2 (diff) | |
Replace LayoutTree class with plain functions
Diffstat (limited to 'src/components/Tile.vue')
| -rw-r--r-- | src/components/Tile.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Tile.vue b/src/components/Tile.vue index 4009068..9b43082 100644 --- a/src/components/Tile.vue +++ b/src/components/Tile.vue @@ -90,7 +90,7 @@ export default defineComponent({ position: 'absolute', left: this.options.leafHeaderX + 'px', top: this.options.leafHeaderY + 'px', - maxWidth: this.layoutNode.hidden ? 0 : this.layoutNode.dims[0] - this.options.leafHeaderX * 2 + 'px', + maxWidth: (this.layoutNode.hidden ? 0 : this.layoutNode.dims[0] - this.options.leafHeaderX * 2) + 'px', height: this.options.leafHeaderFontSz + 'px', lineHeight: this.options.leafHeaderFontSz + 'px', fontSize: this.options.leafHeaderFontSz + 'px', |
