Remove another throwaway variable

(cherry picked from commit f39cebc06f)
This commit is contained in:
Gouvernathor 2024-03-26 22:05:15 +01:00 committed by LoafyLemon
parent faba726a3d
commit af2142393f
1 changed files with 1 additions and 2 deletions

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"