Skip to content

Commit b9080f9

Browse files
committed
Mirroring bugfix.
1 parent c1c707c commit b9080f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wled00/FX_2Dfcn.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ void IRAM_ATTR_YN Segment::setPixelColorXY(int x, int y, uint32_t col)
211211
else strip.setPixelColorXY(start + xX, startY + height() - yY - 1, tmpCol);
212212
}
213213
if (mirror_y && mirror) { //set the corresponding vertically AND horizontally mirrored pixel
214-
strip.setPixelColorXY(width() - xX - 1, height() - yY - 1, tmpCol);
214+
strip.setPixelColorXY(start + width() - xX - 1, startY + height() - yY - 1, tmpCol);
215215
}
216216
}
217217
}

0 commit comments

Comments
 (0)