Mercurial > MadButterfly
changeset 150:0824f4804ee0
Fix bug of broken coord_hide() and shape_hide().
Forget to check GEF_HIDDEN flag of shapes before drawing it.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 25 Sep 2008 23:44:38 +0800 |
parents | 52f7566777f9 |
children | d11aa8fc06c7 |
files | src/redraw_man.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/redraw_man.c Thu Sep 25 11:29:42 2008 +0800 +++ b/src/redraw_man.c Thu Sep 25 23:44:38 2008 +0800 @@ -848,7 +848,8 @@ child = NEXT_CHILD(child); } else { ASSERT(member != NULL); - if(is_geo_in_areas(member, n_areas, areas)) { + if((!(member->flags & GEF_HIDDEN)) && + is_geo_in_areas(member, n_areas, areas)) { draw_shape(rdman, canvas, member->shape); dirty = 1; }