Start all rects from zero size
This commit is contained in:
parent
67c2038d1d
commit
cff4e5e903
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user