Various fixes

This commit is contained in:
2022-07-13 13:42:37 +02:00
parent 0aa3ce6e2a
commit 7f1d1dc90e
7 changed files with 28 additions and 18 deletions

View File

@ -46,7 +46,7 @@ export const shuffle = crossfade({
const transform = style.transform === 'none' ? '' : style.transform;
return {
duration: 400,
duration: 100,
easing: quintOut,
css: t => `
transform: ${transform} scale(${t});
@ -58,7 +58,9 @@ export const shuffle = crossfade({
export function ringBell() {
const bell = new Audio(window.location.href + '/sound');
bell.loop = true;
bell.addEventListener('canplaythrough', () => bell.play());
window.addEventListener('keydown', () => bell.pause());
}
export function formatDuration(ms) {

Binary file not shown.