diff options
author | David Robillard <d@drobilla.net> | 2011-12-08 02:13:47 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-08 02:13:47 +0000 |
commit | 7e11058ba3b1b8339441c9559d36a938f1ecfdc0 (patch) | |
tree | 3d4e815fda7d994ba5093da47875c761bc7dba77 /src/port.c | |
parent | 3cd19961949ebcd69172e184f004427cfb59d5bf (diff) | |
download | ganv-7e11058ba3b1b8339441c9559d36a938f1ecfdc0.tar.gz ganv-7e11058ba3b1b8339441c9559d36a938f1ecfdc0.tar.bz2 ganv-7e11058ba3b1b8339441c9559d36a938f1ecfdc0.zip |
Make canvas direction a property.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3835 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/port.c')
-rw-r--r-- | src/port.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -270,7 +270,7 @@ ganv_port_new(GanvModule* module, if (!node->label) { const double depth = ganv_module_get_empty_port_depth(module); const double breadth = ganv_module_get_empty_port_breadth(module); - if (canvas->direction == GANV_HORIZONTAL) { + if (canvas->direction == GANV_DIRECTION_RIGHT) { ganv_box_set_width(box, depth); ganv_box_set_height(box, breadth); } else { |