Simplify menu position

This commit is contained in:
Gouvernathor 2023-11-17 04:07:53 +01:00
parent e84d5cbdf0
commit 9479859edd

View File

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