Remove another throwaway variable
This commit is contained in:
parent
66f8f5ab28
commit
f39cebc06f
@ -293,13 +293,12 @@ screen studio():
|
|||||||
vbox:
|
vbox:
|
||||||
label "Overlay"
|
label "Overlay"
|
||||||
default ov_dict = studio.choices["overlay"]
|
default ov_dict = studio.choices["overlay"]
|
||||||
$ ov_active = bool(ov_dict["image"] > 0)
|
|
||||||
|
|
||||||
hbox:
|
hbox:
|
||||||
add "interface/studio/overlay.webp" size icon_size
|
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"
|
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:
|
hbox:
|
||||||
add "interface/studio/hue.webp" size icon_size
|
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"
|
bar value DictValue(ov_dict, "hue", 360.0, False, step=1.0, force_step=True) tooltip "Overlay Hue"
|
||||||
|
Loading…
Reference in New Issue
Block a user