summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/module.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/module.c b/src/module.c
index d630ec8..85d48aa 100644
--- a/src/module.c
+++ b/src/module.c
@@ -550,6 +550,11 @@ ganv_module_update(GanvItem* item, int flags)
layout(node);
}
+ if (module->impl->embed_item) {
+ // Kick the embedded item to update position if we have moved
+ ganv_item_move(GANV_ITEM(module->impl->embed_item), 0.0, 0.0);
+ }
+
GanvItemClass* item_class = GANV_ITEM_CLASS(parent_class);
item_class->update(item, flags);