From 4597c401057327f4d7de5a53d0362dfdb641fac1 Mon Sep 17 00:00:00 2001 From: LoafyLemon Date: Thu, 28 Nov 2024 20:29:17 +0000 Subject: [PATCH] Bug fix --- game/scripts/gui/navigation.rpy | 4 ++++ game/scripts/utility/common_screens.rpy | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/game/scripts/gui/navigation.rpy b/game/scripts/gui/navigation.rpy index 839ce0d4..11fb3402 100644 --- a/game/scripts/gui/navigation.rpy +++ b/game/scripts/gui/navigation.rpy @@ -394,6 +394,10 @@ screen navigation(default_category="save", default_subcategory=None): # if main_menu: # add "gui_fade_both" at gui_fade + if main_menu: + # Blocks interaction with main menu buttons + use invisible_button() + if navigation_exit: timer 0.4 action (Hide("navigation") if main_menu else Return()) diff --git a/game/scripts/utility/common_screens.rpy b/game/scripts/utility/common_screens.rpy index ff70f4fe..50a97136 100644 --- a/game/scripts/utility/common_screens.rpy +++ b/game/scripts/utility/common_screens.rpy @@ -51,9 +51,12 @@ screen clothing_unlock(item): screen invisible_button(action=NullAction(), keysym=None, alternate=None): # Note: Actions cannot be passed as transclude, separate parameter is required. - button style "empty": + button style "invisible_button": keyboard_focus False action action keysym keysym alternate alternate transclude + +style invisible_button is empty: + mouse "default"