From 3b397ecf5b061797f4e16ab30d204055912b81e8 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Sat, 28 Jan 2023 16:57:03 +1100 Subject: Tweak responsiveness when dragging --- src/components/TimeLine.vue | 2 +- src/store.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/components/TimeLine.vue b/src/components/TimeLine.vue index d0adfc0..6349eb0 100644 --- a/src/components/TimeLine.vue +++ b/src/components/TimeLine.vue @@ -1222,7 +1222,7 @@ function onPointerDown(evt: PointerEvent){ vUpdateTime = time; } vPrevPointer = (vert.value ? pointerY : pointerX); - }, 50); + }, 30); } function onPointerMove(evt: PointerEvent){ diff --git a/src/store.ts b/src/store.ts index dbc798c..ae6aa63 100644 --- a/src/store.ts +++ b/src/store.ts @@ -145,7 +145,7 @@ function getDefaultState(): StoreState { color, borderRadius: 5, transitionDuration: 300, - animationDelay: 100, + animationDelay: 50, }; } -- cgit v1.2.3