bugfixes: grouping and missing libArchive (#4718)

pull/4585/head^2
Damian Schneider 2025-06-09 17:41:53 +02:00 zatwierdzone przez GitHub
rodzic caeda96fbd
commit 00d1fcc5fb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

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

Wyświetl plik

@ -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++;
}
}