From 64e90886d5dba94143a07e04b0964483a7023e01 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 18 Dec 2011 18:11:10 +0000 Subject: Fix module layout. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3887 a436a847-0d15-0410-975c-d299462d15a1 --- src/module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/module.c') diff --git a/src/module.c b/src/module.c index b82b5ee..ea9ff99 100644 --- a/src/module.c +++ b/src/module.c @@ -331,7 +331,7 @@ resize_horiz(GanvModule* module) h = ganv_box_get_height(pbox); if (p->impl->is_input) { - y = header_height + (i * (h + 1.0)); + y = header_height + 2.0 + (i * (h + 2.0)); ++i; ganv_box_set_width(pbox, m.input_width); ganv_node_move_to(pnode, 0.0, y); @@ -341,7 +341,7 @@ resize_horiz(GanvModule* module) canvas, pnode, ganv_edge_update_location); } else { if (!m.horiz || !last_was_input) { - y = header_height + (i * (h + 1.0)); + y = header_height + 2.0 + (i * (h + 2.0)); ++i; } ganv_box_set_width(pbox, m.output_width); -- cgit v1.2.1