From 869ed0544e5a9e9fd35dfd82ed0f8e277c20c6fd Mon Sep 17 00:00:00 2001 From: siliconsniffer <97843108+siliconsniffer@users.noreply.github.com> Date: Wed, 30 Jul 2025 20:44:55 +0200 Subject: [PATCH] Hide the menu header with touch_gui enabled --- builtin/fstk/tabview.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/builtin/fstk/tabview.lua b/builtin/fstk/tabview.lua index 13a96abffa..d435d476c5 100644 --- a/builtin/fstk/tabview.lua +++ b/builtin/fstk/tabview.lua @@ -225,7 +225,14 @@ end local function hide_tabview(self) self.hidden=true - --call on_change as we're not gonna show self tab any longer + -- hide the menu header image as well + if core.settings:get_bool("touch_gui") then + if mm_game_theme and mm_game_theme.clear_single then + mm_game_theme.clear_single("header") + end + end + + -- call on_change as we're not gonna show self tab any longer if self.tablist[self.last_tab_index].on_change ~= nil then self.tablist[self.last_tab_index].on_change("LEAVE", self.current_tab, nil)