Simplify position and parameters
This commit is contained in:
parent
6216b62ef9
commit
a7ad9fafc7
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user