From 5f6e110ecbcf48700f0f949995cba0bd2ef0d251 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Mon, 10 Oct 2022 20:29:00 +1100
Subject: Fix non-pointer-centered scrolling in horizontal mode

---
 src/components/BaseLine.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

diff --git a/src/components/BaseLine.vue b/src/components/BaseLine.vue
index bde2e56..84a3846 100644
--- a/src/components/BaseLine.vue
+++ b/src/components/BaseLine.vue
@@ -36,7 +36,7 @@ function periodStyles(period){
 		flexGrow: period.len,
 	};
 }
-const labelStyles = computed(() => ({
+const labelStyles: Record<string,string> = computed(() => ({
 	transform: props.vert ? 'rotate(90deg) translate(50%, 0)' : 'none',
 	whiteSpace: 'nowrap',
 	width: props.vert ? '40px' : 'auto',
-- 
cgit v1.2.3

