Remove magic number

This commit is contained in:
2021-07-01 19:39:52 +10:00
parent fce9268dca
commit f795f4d690
2 changed files with 4 additions and 2 deletions

View File

@ -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"