Factorize pos
This commit is contained in:
parent
d7c8e39b08
commit
e242c0e43a
@ -62,18 +62,18 @@ screen summon(xx, yy):
|
|||||||
use close_button(key=["summon", "game_menu"])
|
use close_button(key=["summon", "game_menu"])
|
||||||
|
|
||||||
fixed:
|
fixed:
|
||||||
|
pos (xx, yy)
|
||||||
if settings.get("animations"):
|
if settings.get("animations"):
|
||||||
at gui_animation
|
at gui_animation
|
||||||
use summon_menu(xx, yy)
|
use summon_menu
|
||||||
|
|
||||||
screen summon_menu(xx, yy):
|
screen summon_menu():
|
||||||
tag summon_menu
|
tag summon_menu
|
||||||
modal True
|
modal True
|
||||||
zorder 15
|
zorder 15
|
||||||
|
|
||||||
window:
|
window:
|
||||||
style "empty"
|
style "empty"
|
||||||
pos (xx, yy)
|
|
||||||
xysize (207, 454)
|
xysize (207, 454)
|
||||||
|
|
||||||
use invisible_button()
|
use invisible_button()
|
||||||
|
Loading…
Reference in New Issue
Block a user