mirror of
https://github.com/pvrzz/atmosphere.git
synced 2026-11-29 05:22:26 +00:00
Mini player, direct file links, backups and polish
- Mini player with optional cover art, blurred backdrop, reorderable queue and always-on-top - Direct .mp3/.wav/.flac/.mp4 links are verified and read for real bitrate, tags and cover - Lyrics soften with distance from the sung line; hovering brings a line into focus - Browser sign-in check with clear guidance, plus cookies.txt file support - Backup and restore of settings, stats, liked songs and artist photos - Uninstaller keeps data by default and offers a backup before deleting it - Stalled partial downloads clear automatically when downloads finish - Window border follows the app theme; images can no longer be dragged out - Fix search results rendering as [object Object]
This commit is contained in:
@@ -315,6 +315,7 @@ function bindPlayer() {
|
||||
if (e.target.closest("input, textarea, select, [contenteditable]") || e.altKey) return;
|
||||
const mod = e.ctrlKey || e.metaKey;
|
||||
const k = e.key;
|
||||
if (document.body.classList.contains("mini-mode") && /^[lqf]$/i.test(k)) return;
|
||||
if (k === " " && !mod) { e.preventDefault(); Player.toggle(); }
|
||||
else if (k === "ArrowRight" && mod) { e.preventDefault(); Player.next(); }
|
||||
else if (k === "ArrowLeft" && mod) { e.preventDefault(); Player.prev(); }
|
||||
|
||||
Reference in New Issue
Block a user