From 7b3864979f3cf9aae89d16bae708d5c3124e8e8a Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Thu, 12 May 2022 00:23:00 +1000
Subject: Adjust code for typescript checks

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

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

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;
-- 
cgit v1.2.3

