diff options
author | David Robillard <d@drobilla.net> | 2016-10-14 21:44:20 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-10-14 21:44:20 -0400 |
commit | 31685d283e9b811b61014f820c42807f4effa071 (patch) | |
tree | 76a407a55a824257078a0049c254975ca4f33e15 /src | |
parent | 1c1f35cf8914de40cd6db435af764067344d258f (diff) | |
download | ganv-31685d283e9b811b61014f820c42807f4effa071.tar.gz ganv-31685d283e9b811b61014f820c42807f4effa071.tar.bz2 ganv-31685d283e9b811b61014f820c42807f4effa071.zip |
Fix buggy drawing of embedded widgets
Diffstat (limited to 'src')
-rw-r--r-- | src/box.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -191,6 +191,8 @@ ganv_box_update(GanvItem* item, int flags) impl->old_coords = impl->coords; coords_i2w(item, &impl->old_coords); + // Call parent class update method, resizing if necessary + GANV_ITEM_CLASS(parent_class)->update(item, flags); ganv_box_normalize(box); // Update world-relative bounding box @@ -199,8 +201,6 @@ ganv_box_update(GanvItem* item, int flags) // Request redraw of new location ganv_box_request_redraw(item, &impl->coords, FALSE); - - GANV_ITEM_CLASS(parent_class)->update(item, flags); } void |