From 2c5b6b3ce3c533ff3697309cabb5f7707b25f06d Mon Sep 17 00:00:00 2001 From: Pihkaal Date: Thu, 12 Sep 2024 22:59:40 +0200 Subject: [PATCH] feat(sddm): delay first input --- src/components/Sddm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Sddm.tsx b/src/components/Sddm.tsx index 264a48b..d22cdba 100644 --- a/src/components/Sddm.tsx +++ b/src/components/Sddm.tsx @@ -50,7 +50,7 @@ export const Sddm = () => { Math.random() > 0.15; setPassword(Math.max(0, password + (canType ? 1 : -1))); }, - password === 0 ? 1000 : Math.random() * 250 + 100, + password === 0 ? 3000 : Math.random() * 250 + 100, ); return () => clearTimeout(timeout); }, [password]);