From 635622652e16abe29802a72f53a108ba9028b9a1 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Thu, 15 Oct 2026 01:35:05 +0200 Subject: [PATCH] Controllers: options sub-pages keep the classic focus highlight under the Horizon style Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/game/pad_menu.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/crates/horizon-client/src/game/pad_menu.rs b/crates/horizon-client/src/game/pad_menu.rs index 1a249fe5e..3a697c394 100644 --- a/crates/horizon-client/src/game/pad_menu.rs +++ b/crates/horizon-client/src/game/pad_menu.rs @@ -1035,10 +1035,13 @@ impl Game<'_> { /// the design system's focus colour: a two-dp accent ring. fn draw_pad_focus(&self, batch: &mut HudBatch, focus: Target) { let [x, y, w, h] = focus.rect; + // The options' sub-pages keep the classic layout under either style. let horizon = horizon_client::ui_theme::horizon() - && (self.title.is_some() - || self.screen == Screen::Options - || self.screen == Screen::Paused); + && if self.screen == Screen::Options { + self.ui.options.page() == Page::Main + } else { + self.title.is_some() || self.screen == Screen::Paused + }; if horizon { use horizon_client::ui_theme::{self as theme, Ui, color}; let mut ui = Ui::new(&self.res.atlas, batch, self.cursor);