diff options
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | src/module.c | 5 | ||||
-rw-r--r-- | wscript | 2 |
3 files changed, 12 insertions, 1 deletions
@@ -1,3 +1,9 @@ +ganv (1.4.3) unstable; + + * Fix positioning of embedded widgets during sprung layout. + + -- David Robillard <d@drobilla.net> Fri, 29 Aug 2014 12:23:44 -0400 + ganv (1.4.2) stable; * Fix bug where edges would not update when nodes are moved after the canvas 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); @@ -8,7 +8,7 @@ import waflib.extras.autowaf as autowaf # major increment <=> incompatible changes # minor increment <=> compatible changes (additions) # micro increment <=> no interface changes -GANV_VERSION = '1.4.2' +GANV_VERSION = '1.4.3' GANV_MAJOR_VERSION = '1' # Mandatory waf variables |