kopia lustrzana https://github.com/Aircoookie/WLED
fix clock overlay display
rodzic
f4a2eec984
commit
21a9372320
|
@ -91,8 +91,9 @@ void handleOverlayDraw() {
|
|||
usermods.handleOverlayDraw();
|
||||
if (analogClockSolidBlack) {
|
||||
const Segment* segments = strip.getSegments();
|
||||
for (uint8_t i = 0; i < strip.getActiveSegmentsNum(); i++) {
|
||||
for (uint8_t i = 0; i < strip.getSegmentsNum(); i++) {
|
||||
const Segment& segment = segments[i];
|
||||
if (!segment.isActive()) continue;
|
||||
if (segment.mode > 0 || segment.colors[0] > 0) {
|
||||
return;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue