From 8ab20c9e2ec444bf030a7fe37bb207694c7c3c73 Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Tue, 12 Jul 2022 13:35:02 +0200 Subject: [PATCH] Ajust dashboard shuffle animation duration Signed-off-by: Romein van Buren --- gui/dashboard/lib.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gui/dashboard/lib.js b/gui/dashboard/lib.js index 4eddc18..fe61468 100644 --- a/gui/dashboard/lib.js +++ b/gui/dashboard/lib.js @@ -31,7 +31,7 @@ export const shuffle = crossfade({ const transform = style.transform === 'none' ? '' : style.transform; return { - duration: 600, + duration: 400, easing: quintOut, css: t => ` transform: ${transform} scale(${t}); @@ -41,8 +41,6 @@ export const shuffle = crossfade({ }, }); -//export const ringBell = bell.play; - export function ringBell() { const bell = new Audio('http://__SERVER__/statusdashboard/sound'); bell.addEventListener('canplaythrough', () => bell.play());