refactor resetSegments to work properly

add boundsOnly
This commit is contained in:
Ewoud
2023-02-13 15:54:18 +01:00
parent d215633578
commit 0d0f6b5e30
5 changed files with 30 additions and 20 deletions

View File

@@ -714,6 +714,7 @@ void handleSettingsSet(AsyncWebServerRequest *request, byte subPage)
Segment::maxHeight = 1;
}
strip.setUpMatrix(); // will check limits
strip.resetSegments(true); //WLEDMM reset segments, boundsOnly!!
}
#endif