mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
Always hide the menu header when calling tabview:hide
This commit is contained in:
parent
97141ffd41
commit
3ae6a64f20
1 changed files with 2 additions and 4 deletions
|
@ -226,10 +226,8 @@ local function hide_tabview(self)
|
|||
self.hidden=true
|
||||
|
||||
-- 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
|
||||
if mm_game_theme and mm_game_theme.clear_single then
|
||||
mm_game_theme.clear_single("header")
|
||||
end
|
||||
|
||||
-- call on_change as we're not gonna show self tab any longer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue