From 65f5325a8e454dba65618738e30c2b0accfd1e3b Mon Sep 17 00:00:00 2001 From: Jonathan Sykes Date: Sat, 3 Oct 2026 01:15:44 +0800 Subject: [PATCH] Search from service mode no longer strands the user on the home screen In service mode's Video view the overlay lives inside the player pane, which the home-over rule hid, while service mode kept the bottom bar and mini bar hidden. Going home now leaves service mode first, and the rule spares the service overlay. --- frontend/app.js | 3 +++ frontend/styles.css | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/app.js b/frontend/app.js index d428dbc..914595a 100755 --- a/frontend/app.js +++ b/frontend/app.js @@ -7056,6 +7056,9 @@ function setHomeOverPlayer(on) { const pane = els.playerPane; if (!pane) return; on = !!on && !!(current && current.meta); + // Service mode hides the bottom bar and mini bar (and, in its Video view, + // lives inside this pane): leave it first or the home screen is a dead end. + if (on && isServiceModeOpen()) exitServiceMode(); if (pane.classList.contains('home-over') === on) return; pane.classList.toggle('home-over', on); pane.classList.toggle('empty', on); diff --git a/frontend/styles.css b/frontend/styles.css index 1cad2f3..85ed7ac 100755 --- a/frontend/styles.css +++ b/frontend/styles.css @@ -4286,4 +4286,4 @@ body.landscape-fs .player-stage { touch-action: none; } /* fullscreen (real or t .player-pane.home-over #stageLyrics, .player-pane.home-over #artFallback { visibility: hidden; } .player-pane.home-over .related-panel { display: none; } -.player-pane.home-over > :not(.player-stage) { display: none !important; } +.player-pane.home-over > :not(.player-stage):not(#serviceMode) { display: none !important; }