aboutsummaryrefslogtreecommitdiff
path: root/src/store.ts
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2023-01-23 10:01:01 +1100
committerTerry Truong <terry06890@gmail.com>2023-01-23 10:01:01 +1100
commit2f5f6191783d32bf462db14f33c8dddb22990943 (patch)
tree30c61b887538893931bc4579d0e367f7bed5cd53 /src/store.ts
parent171653e9f3de8a550d4507722637a3c7d1e063d2 (diff)
Speed up transitions for touch actions
Diffstat (limited to 'src/store.ts')
-rw-r--r--src/store.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/store.ts b/src/store.ts
index 6482dfe..4436211 100644
--- a/src/store.ts
+++ b/src/store.ts
@@ -73,6 +73,7 @@ export type StoreState = {
},
borderRadius: number, // px
transitionDuration: number, // ms
+ animationDelay: number, // ms
};
function getDefaultState(): StoreState {
@@ -142,6 +143,7 @@ function getDefaultState(): StoreState {
color,
borderRadius: 5,
transitionDuration: 300,
+ animationDelay: 100,
};
}