Ajust dashboard shuffle animation duration

Signed-off-by: Romein van Buren <romein@vburen.nl>
This commit is contained in:
Romein van Buren 2022-07-12 13:35:02 +02:00
parent 36d26ee5c8
commit 8ab20c9e2e
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -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());