Add extra patterns that use a single color
This commit is contained in:
parent
f7f7acbdbf
commit
62611c73c9
2
main.py
2
main.py
|
@ -577,7 +577,7 @@ class App:
|
||||||
|
|
||||||
if current_pattern == "transition":
|
if current_pattern == "transition":
|
||||||
colors_to_send = tab.colors_in_palette.copy()
|
colors_to_send = tab.colors_in_palette.copy()
|
||||||
elif current_pattern in ["on", "blink"]: # Add other patterns that use a single color
|
elif current_pattern in ["on", "blink", "theater_chase", "flicker"]: # Add other patterns that use a single color
|
||||||
if tab.colors_in_palette:
|
if tab.colors_in_palette:
|
||||||
# For non-transition patterns, the device typically uses only the first color.
|
# For non-transition patterns, the device typically uses only the first color.
|
||||||
# However, if a user picks a color from the palette, we want THAT color to be the one
|
# However, if a user picks a color from the palette, we want THAT color to be the one
|
||||||
|
|
Loading…
Reference in New Issue