summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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