diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-10-10 20:29:00 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-10-10 20:29:00 +1100 |
| commit | 5f6e110ecbcf48700f0f949995cba0bd2ef0d251 (patch) | |
| tree | a9debe0fb460b83ee5a193fcb463c8af96c82d79 /src/components/BaseLine.vue | |
| parent | c8b42c9923213390289395ef477f8645191b0ce8 (diff) | |
Fix non-pointer-centered scrolling in horizontal mode
Diffstat (limited to 'src/components/BaseLine.vue')
| -rw-r--r-- | src/components/BaseLine.vue | 2 |
1 files changed, 1 insertions, 1 deletions
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', |
