aboutsummaryrefslogtreecommitdiff
path: root/src/components/Tile.vue
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-05-12 00:23:00 +1000
committerTerry Truong <terry06890@gmail.com>2022-05-12 00:23:07 +1000
commit7b3864979f3cf9aae89d16bae708d5c3124e8e8a (patch)
tree88429475d73c502d935f78d911b3206befce3d30 /src/components/Tile.vue
parentd67dd368322edcbcb921a138d0a327f726f4012d (diff)
Adjust code for typescript checks
Diffstat (limited to 'src/components/Tile.vue')
-rw-r--r--src/components/Tile.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Tile.vue b/src/components/Tile.vue
index 5772e0a..fe60aa6 100644
--- a/src/components/Tile.vue
+++ b/src/components/Tile.vue
@@ -103,7 +103,7 @@ export default defineComponent({
if (this.isOverflownRoot){
layoutStyles.width = (this.layoutNode.dims[0] + this.uiOpts.scrollGap) + 'px';
layoutStyles.height = this.overflownDim + 'px';
- layoutStyles.overflowY = 'scroll';
+ layoutStyles.overflow = 'hidden scroll';
}
if (this.layoutNode.hidden){
layoutStyles.left = layoutStyles.top = layoutStyles.width = layoutStyles.height = '0';
@@ -164,7 +164,7 @@ export default defineComponent({
return styles;
},
nonleafHeaderStyles(): Record<string,string> {
- let styles = {
+ let styles: Record<string,string> = {
position: 'static',
height: this.lytOpts.headerSz + 'px',
borderTopLeftRadius: 'inherit',
@@ -341,7 +341,7 @@ export default defineComponent({
this.$emit('info-icon-click', node);
},
// Other
- onTransitionEnd(evt){
+ onTransitionEnd(evt: Event){
if (this.inTransition){
this.inTransition = false;
this.wasClicked = false;