Start all rects from zero size

This commit is contained in:
Bob Polis 2022-09-28 14:58:06 +02:00
parent 67c2038d1d
commit cff4e5e903

View File

@ -89,7 +89,7 @@ void Grid::setup(cairo_t* context, const cairo_rectangle_t& rect) {
Rect r;
r.cx = _border + h_margin + x * _d;
r.cy = _border + v_margin + y * _d;
r.width = random_between(_min_size, _max_size);
r.width = 0;
r.color = black;
_old.rects.push_back(r);
_cur.rects.push_back(r);