Skip to content

best way to save what you love

web/SmallDialog: delay error haptics by 150ms

wukkoa1e20ccc3e81
diff --git a/web/src/components/dialog/SmallDialog.svelte b/web/src/components/dialog/SmallDialog.svelte
index dee9e051..47596109 100644
--- a/web/src/components/dialog/SmallDialog.svelte
+++ b/web/src/components/dialog/SmallDialog.svelte
@@ -25,7 +25,9 @@
// error meowbalt art is not used in dialogs unless it's an error
if (meowbalt === "error") {
- hapticError();
+ setTimeout(() => {
+ hapticError();
+ }, 150)
}
</script>