blazoncek / WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
MIT License
31 stars 0 forks source link

make pixels outside grouping and spacing black #30

Closed ewoudwijma closed 2 years ago

ewoudwijma commented 2 years ago

Otherwise when changing effects / presets / grouping and spacing values, those 'gap' pixels will keep the last color shown

blazoncek commented 2 years ago

Added clearing of whole segment if spacing has changed by JSON API (json.cpp, l:75, commit). I am not sure that this (clearing spacing) is always a desirable. I would love @Aircoookie comment on this.

blazoncek commented 2 years ago

Additional fix available in 6c6849d8d7715e5f7adc7575a973c7ea04dd2259 I am closing as clearing only happens on segment change which is ok IMO.