From 8fce25984f8f24e9eace8f8204111673524e1487 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Sun, 9 Oct 2022 23:30:24 +1100 Subject: Skip tick transitions on horz/vert swap --- src/components/TimeLine.vue | 48 +++++++++++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 19 deletions(-) diff --git a/src/components/TimeLine.vue b/src/components/TimeLine.vue index defa1e4..03adfc5 100644 --- a/src/components/TimeLine.vue +++ b/src/components/TimeLine.vue @@ -6,20 +6,20 @@ ref="rootRef"> + :x1="vert2 ? '50%' : 0" :y1="vert2 ? 0 : '50%'" + :x2="vert2 ? '50%' : '100%'" :y2="vert2 ? '100%' : '50%'"/> {{n}} @@ -28,7 +28,7 @@