Merge pull request #2548 from FoamyGuy/fix_black_color_square
Fix black square in the neopixel remote
This commit is contained in:
commit
5f2ea6233d
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ while True:
|
|||
# Used to prevent the touchscreen sending incorrect results
|
||||
if last_index == index:
|
||||
color = colors[index]
|
||||
if colors[index]:
|
||||
if colors[index] is not None:
|
||||
group[1].fill = color
|
||||
if last_color != color:
|
||||
color_str = "#{:06x}".format(color)
|
||||
|
|
|
|||
Loading…
Reference in a new issue