From 3a66879b889dce85d7498e216980a2c08288b36f Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Fri, 6 Jan 2023 23:58:25 +1100 Subject: Keep track of a 'current' timeline Make timeline addition and searching use the current timeline. Add keyboard controls for timeline panning, zooming, switching, opening, and closing. Fix zoomTimeline() bug when not centering zoom on pointer. --- src/components/TimeLine.vue | 47 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 41 insertions(+), 6 deletions(-) (limited to 'src/components/TimeLine.vue') diff --git a/src/components/TimeLine.vue b/src/components/TimeLine.vue index 1583aef..d6bb36a 100644 --- a/src/components/TimeLine.vue +++ b/src/components/TimeLine.vue @@ -58,7 +58,7 @@ -
+
{{timelinePosStr}}
@@ -71,7 +71,7 @@