diff options
author | Laurent Ghigonis <laurent@p1sec.com> | 2012-11-05 04:26:12 +0100 |
---|---|---|
committer | Laurent Ghigonis <laurent@p1sec.com> | 2012-11-05 04:26:12 +0100 |
commit | 137b99160597e9e7141b7c7b3f891671734fc159 (patch) | |
tree | 8ac9f3fc18ef68b904a0131e3abd0b207cf44608 | |
parent | bump NEWS (diff) | |
download | glouglou-137b99160597e9e7141b7c7b3f891671734fc159.tar.xz glouglou-137b99160597e9e7141b7c7b3f891671734fc159.zip |
redraw cell in grid_pattern_inject()
fixes pattern injection on mouse down
-rw-r--r-- | src/elife_evas_smart.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/elife_evas_smart.c b/src/elife_evas_smart.c index cca8ef5..8d2dccd 100644 --- a/src/elife_evas_smart.c +++ b/src/elife_evas_smart.c @@ -278,6 +278,8 @@ grid_inject_pattern(struct grid *grid) continue; cell = CELL_GET(grid, cx, cy); cell->newage = (pat->pat[pat->w*j + i] - '0') * 27; + cell->age = cell->newage; + cell_redraw(cell, grid); } } } |