summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-10-14 21:44:20 -0400
committerDavid Robillard <d@drobilla.net>2016-10-14 21:44:20 -0400
commit31685d283e9b811b61014f820c42807f4effa071 (patch)
tree76a407a55a824257078a0049c254975ca4f33e15 /src
parent1c1f35cf8914de40cd6db435af764067344d258f (diff)
downloadganv-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/box.c b/src/box.c
index d66e4c1..78afe69 100644
--- a/src/box.c
+++ b/src/box.c
@@ -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