Simplify menu position

(cherry picked from commit 9479859edd)
This commit is contained in:
Gouvernathor 2023-11-17 04:07:53 +01:00 committed by LoafyLemon
parent c3c0969be8
commit 726406e11b

View File

@ -76,16 +76,16 @@ screen brewing(xx, yy):
use close_button
fixed:
pos (xx, yy)
if settings.get("animations"):
at gui_animation
use brewing_menu(xx, yy)
use brewing_menuitem(xx, yy)
use brewing_menu
use brewing_menuitem
screen brewing_menu(xx, yy):
screen brewing_menu():
window:
style "empty"
style_prefix gui.theme('achievements')
pos (xx, yy)
xysize (207, 454)
use invisible_button()
@ -140,13 +140,13 @@ screen brewing_menu(xx, yy):
textbutton "Show: [current_filter]" action Return("filter")
textbutton "Sort by: [current_sorting]" action Return("sort")
screen brewing_menuitem(xx, yy):
screen brewing_menuitem():
default turned_on = False
default drop_ingredients = False
window:
style "empty"
pos (xx+217, yy-53)
pos (217, -53)
xysize (560, 507)
use invisible_button()