Remove another throwaway variable

This commit is contained in:
Gouvernathor 2024-03-26 22:05:15 +01:00
parent 66f8f5ab28
commit f39cebc06f

View File

@ -293,13 +293,12 @@ screen studio():
vbox:
label "Overlay"
default ov_dict = studio.choices["overlay"]
$ ov_active = bool(ov_dict["image"] > 0)
hbox:
add "interface/studio/overlay.webp" size icon_size
bar value DictValue(ov_dict, "image", len(ov_dict["list"])-1, False, step=1, force_step=True) tooltip "Overlay Image"
if ov_active:
if ov_dict["image"] > 0:
hbox:
add "interface/studio/hue.webp" size icon_size
bar value DictValue(ov_dict, "hue", 360.0, False, step=1.0, force_step=True) tooltip "Overlay Hue"