1
0
mirror of https://github.com/aseprite/aseprite.git synced 2025-03-31 16:20:22 +00:00

Fixed: jwidget_flush_redraw() does not generate JM_DRAW messages for hidden widgets anymore.

This commit is contained in:
David Capello 2010-04-10 15:54:12 -03:00
parent c4ea0dd603
commit bd6bff7998

@ -1171,6 +1171,9 @@ void jwidget_flush_redraw(JWidget widget)
assert_valid_widget(widget);
if (jwidget_is_hidden(widget))
return;
nrects = JI_REGION_NUM_RECTS(widget->update_region);
if (nrects > 0) {
/* get areas to draw */