mirror of
https://github.com/smartyellow/status.git
synced 2025-01-18 13:37:59 +00:00
Ajust dashboard shuffle animation duration
Signed-off-by: Romein van Buren <romein@vburen.nl>
This commit is contained in:
parent
36d26ee5c8
commit
8ab20c9e2e
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user