summaryrefslogtreecommitdiffstats
path: root/src/group.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-02-21 23:32:24 +0000
committerDavid Robillard <d@drobilla.net>2015-02-21 23:32:24 +0000
commitef71a1da33a3c68cad782029cacbc1d01328b4d6 (patch)
treef5bb6f29c467bf91c0ab8ca5072a81408522a311 /src/group.c
parent23682cbf1f98f35d4341efe354bee6f770d482e2 (diff)
downloadganv-ef71a1da33a3c68cad782029cacbc1d01328b4d6.tar.gz
ganv-ef71a1da33a3c68cad782029cacbc1d01328b4d6.tar.bz2
ganv-ef71a1da33a3c68cad782029cacbc1d01328b4d6.zip
Add API to specify module port order.
Also fix various redundant resize/update issues, improve performance. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5592 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/group.c')
-rw-r--r--src/group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/group.c b/src/group.c
index e867cef..3a37c80 100644
--- a/src/group.c
+++ b/src/group.c
@@ -94,8 +94,6 @@ ganv_group_update(GanvItem* item, int flags)
{
GanvGroup* group = GANV_GROUP(item);
- (*group_parent_class->update)(item, flags);
-
double min_x = 0.0;
double min_y = 0.0;
double max_x = 0.0;
@@ -115,6 +113,8 @@ ganv_group_update(GanvItem* item, int flags)
item->impl->y1 = min_y;
item->impl->x2 = max_x;
item->impl->y2 = max_y;
+
+ (*group_parent_class->update)(item, flags);
}
static void