diff --git a/media_server/static/css/styles.css b/media_server/static/css/styles.css index f5feb72..c442b09 100644 --- a/media_server/static/css/styles.css +++ b/media_server/static/css/styles.css @@ -903,6 +903,13 @@ button:disabled { gap: 0.75rem; } +.player-toggles { + display: flex; + align-items: center; + gap: 0.375rem; + margin-left: auto; +} + .vinyl-toggle-btn { width: 28px; height: 28px; @@ -916,7 +923,6 @@ button:disabled { align-items: center; justify-content: center; transition: all 0.2s; - margin-left: auto; } .vinyl-toggle-btn:hover { diff --git a/media_server/static/index.html b/media_server/static/index.html index a02be49..d89f53a 100644 --- a/media_server/static/index.html +++ b/media_server/static/index.html @@ -187,12 +187,14 @@
Source: Unknown - - +
+ + +
diff --git a/media_server/static/js/app.js b/media_server/static/js/app.js index 5347846..a1dbb11 100644 --- a/media_server/static/js/app.js +++ b/media_server/static/js/app.js @@ -286,6 +286,8 @@ window.addEventListener('beforeunload', saveVinylAngle); function toggleVinylMode() { + // Save current angle before turning off (must happen while still in vinyl mode) + if (vinylMode) saveVinylAngle(); vinylMode = !vinylMode; localStorage.setItem('vinylMode', vinylMode); applyVinylMode();