aboutsummaryrefslogtreecommitdiff
path: root/src/components/TileInfoModal.vue
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-06-25 12:10:58 +1000
committerTerry Truong <terry06890@gmail.com>2022-06-25 12:43:36 +1000
commit2a0c04245f8ab5017ca96449cca8aeb36336edf3 (patch)
tree9d8fed07810e7b22c2ed29b6db014f69f4023fe5 /src/components/TileInfoModal.vue
parenta1c5e2017ef80d360cc0d08ae73437ce32766c6e (diff)
Reduce degrees-of-variance in options set
Also add size prop to IconButton
Diffstat (limited to 'src/components/TileInfoModal.vue')
-rw-r--r--src/components/TileInfoModal.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/TileInfoModal.vue b/src/components/TileInfoModal.vue
index 423a2f5..90ad9a7 100644
--- a/src/components/TileInfoModal.vue
+++ b/src/components/TileInfoModal.vue
@@ -50,7 +50,7 @@ export default defineComponent({
},
dummyNode(): LayoutNode {
let newNode = new LayoutNode(this.nodeName, []);
- newNode.dims = [this.uiOpts.infoModalImgSz, this.uiOpts.infoModalImgSz];
+ newNode.dims = [this.lytOpts.maxTileSz, this.lytOpts.maxTileSz];
return newNode;
},
},
@@ -69,8 +69,8 @@ export default defineComponent({
'none',
backgroundColor: '#1c1917',
backgroundSize: 'cover',
- width: this.uiOpts.infoModalImgSz + 'px',
- height: this.uiOpts.infoModalImgSz + 'px',
+ width: this.lytOpts.maxTileSz + 'px',
+ height: this.lytOpts.maxTileSz + 'px',
};
},
licenseToUrl(license: string){