diff --git a/modules/FadingRects/FadingRects.cpp b/modules/FadingRects/FadingRects.cpp index ad3c504..53f22fc 100644 --- a/modules/FadingRects/FadingRects.cpp +++ b/modules/FadingRects/FadingRects.cpp @@ -155,4 +155,5 @@ void FadingRects::setup(cairo_t* context, const cairo_rectangle_t& rect) { ScreensaverPlugin::setup(context, rect); std::uniform_real_distribution dist {0.0, 360.0}; _hue = dist(_eng); + _rects.clear(); }