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