Add extra patterns that use a single color

This commit is contained in:
jimmy committed 2025-07-12 10:38:33 +12:00
1 parent f7f7acbdbf
commit 62611c73c9
1 file changed
+1 -1
+1 -1
View File
@@ -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