mirror of
https://github.com/wled/WLED.git
synced 2025-07-10 04:16:36 +00:00
bugfixes: grouping and missing libArchive (#4718)
This commit is contained in:
parent
caeda96fbd
commit
00d1fcc5fb
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "user_fx"
|
"name": "user_fx",
|
||||||
}
|
"build": { "libArchive": false }
|
||||||
|
}
|
@ -1459,7 +1459,8 @@ void WS2812FX::blendSegment(const Segment &topSegment) const {
|
|||||||
const int maxX = std::min(x + topSegment.grouping, width);
|
const int maxX = std::min(x + topSegment.grouping, width);
|
||||||
const int maxY = std::min(y + topSegment.grouping, height);
|
const int maxY = std::min(y + topSegment.grouping, height);
|
||||||
while (y < maxY) {
|
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++;
|
y++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user