forked from Cavemanon/SnootGame
Remove magic number
This commit is contained in:
@ -247,7 +247,7 @@ screen quick_button(filename, label, function):
|
||||
action function
|
||||
fixed:
|
||||
add filename xalign 0.5 yalign 0.5 zoom 1
|
||||
text label xalign 0.5 yalign 0.5 xanchor 0.5 size 22 color "#000000EE"
|
||||
text label xalign 0.5 yalign 0.5 xanchor 0.5 size 22 color gui.quick_button_text_color
|
||||
|
||||
# label_functions is [ [ "label", function() ], [ "foobar", foobar() ], .. ]
|
||||
# Reuse the same image and keep things 'neat'.
|
||||
@ -1548,7 +1548,7 @@ screen quick_button(filename, label, function):
|
||||
action function
|
||||
fixed:
|
||||
add filename xalign 0.5 yalign 0.5 zoom 1.75
|
||||
text label xalign 0.5 yalign 0.5 size 42 color "#000000EE"
|
||||
text label xalign 0.5 yalign 0.5 size 42 color gui.quick_button_text_color
|
||||
|
||||
screen quick_menu():
|
||||
variant "small"
|
||||
|
Reference in New Issue
Block a user