aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2023-01-28 16:57:03 +1100
committerTerry Truong <terry06890@gmail.com>2023-01-28 16:57:03 +1100
commit3b397ecf5b061797f4e16ab30d204055912b81e8 (patch)
tree395ff886c66319dde705a12b3237e41053dcf656
parent0647021d9b520e058923d2ed44fc487c513def5c (diff)
Tweak responsiveness when dragging
-rw-r--r--src/components/TimeLine.vue2
-rw-r--r--src/store.ts2
2 files changed, 2 insertions, 2 deletions
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,
};
}