Bug fix
This commit is contained in:
parent
2f4e3c3b35
commit
4597c40105
@ -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())
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user