aboutsummaryrefslogtreecommitdiff
path: root/src/components/TimeLine.vue
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2023-01-02 17:47:38 +1100
committerTerry Truong <terry06890@gmail.com>2023-01-02 17:47:38 +1100
commitd48f3b862fad74af6576297d471d7834b1f0bba8 (patch)
tree1a3ca9490711749304bb5ab59f7fcd7ed77d96e1 /src/components/TimeLine.vue
parentd67b35629905b6c26648c7979c28c333664f102f (diff)
Make baseline time-spans non-overlapping
Remove time-span labels Fix firstDate/lastDate being passed to TimelineState instead of startDate/endDate
Diffstat (limited to 'src/components/TimeLine.vue')
-rw-r--r--src/components/TimeLine.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/TimeLine.vue b/src/components/TimeLine.vue
index 087d504..bdd5434 100644
--- a/src/components/TimeLine.vue
+++ b/src/components/TimeLine.vue
@@ -1100,7 +1100,7 @@ function onShiftWheel(evt: WheelEvent){
// For bound-change signalling
function onStateChg(){
emit('state-chg', new TimelineState(
- ID, firstDate.value, lastDate.value, startOffset.value, endOffset.value, scaleIdx.value
+ ID, startDate.value, endDate.value, startOffset.value, endOffset.value, scaleIdx.value
));
}
watch(firstDate, onStateChg);