Simplify position and parameters

This commit is contained in:
Gouvernathor 2023-11-17 02:31:46 +01:00
parent 6216b62ef9
commit a7ad9fafc7
1 changed files with 6 additions and 6 deletions

View File

@ -221,16 +221,16 @@ screen inventory(xx, yy):
use close_button(key=["inventory", "game_menu"])
fixed:
pos (xx, yy)
if settings.get("animations"):
at gui_animation
use inventory_menu(xx, yy)
use inventory_menuitem(xx, yy)
use inventory_menu
use inventory_menuitem
screen inventory_menu(xx, yy):
screen inventory_menu():
window:
style "empty"
style_prefix gui.theme('achievements')
pos (xx, yy)
xysize (207, 454)
use invisible_button()
@ -268,11 +268,11 @@ screen inventory_menu(xx, yy):
textbutton "Show: [current_filter]" action [__Filter, __Actuate()]
textbutton "Sort by: [current_sorting]" action [__Sort, __Actuate()]
screen inventory_menuitem(xx, yy):
screen inventory_menuitem():
window:
style "empty"
style_prefix gui.theme()
pos (xx+217, yy-53)
pos (217, -53)
xysize (560, 507)
use invisible_button()