diff --git a/index.html b/index.html index 6799b12..9b44cd2 100644 --- a/index.html +++ b/index.html @@ -410,8 +410,11 @@ +
+ +
- โ€” ยท + โ€”
๐Ÿ”€ Shuffle diff --git a/src/ui.js b/src/ui.js index 7d7dfbf..0c719c2 100644 --- a/src/ui.js +++ b/src/ui.js @@ -158,6 +158,8 @@ export function hideCtxMenu() { document.addEventListener('click', e => { if(!document.getElementById('ctx-menu').contains(e.target)) hideCtxMenu(); }); +document.addEventListener('scroll', () => hideCtxMenu(), { passive: true, capture: true }); +document.addEventListener('touchmove', () => hideCtxMenu(), { passive: true, capture: true }); document.addEventListener('keydown', e => { if(e.key==='Escape') hideCtxMenu(); }); // โ”€โ”€โ”€ PLAYLIST MODAL (Add to / Create) โ”€โ”€โ”€