bugfixes: grouping and missing libArchive (#4718)

This commit is contained in:
Damian Schneider 2025-06-09 17:41:53 +02:00 committed by GitHub
parent caeda96fbd
commit 00d1fcc5fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,4 @@
{
"name": "user_fx"
}
"name": "user_fx",
"build": { "libArchive": false }
}

View File

@ -1459,7 +1459,8 @@ void WS2812FX::blendSegment(const Segment &topSegment) const {
const int maxX = std::min(x + topSegment.grouping, width);
const int maxY = std::min(y + topSegment.grouping, height);
while (y < maxY) {
while (x < maxX) setMirroredPixel(x++, y, c_a, opacity);
int _x = x;
while (_x < maxX) setMirroredPixel(_x++, y, c_a, opacity);
y++;
}
}