diff options
author | David Robillard <d@drobilla.net> | 2007-09-16 19:01:20 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-09-16 19:01:20 +0000 |
commit | 89f56f276b9dc16fec03725f73f7df12260cd246 (patch) | |
tree | c04aeafd5cef147746948bd1a9d80c2e793afa57 /src/libs/gui | |
parent | 9e385c8b60e10f5bb202cb5eb7d7aead8a90fe18 (diff) | |
download | ingen-89f56f276b9dc16fec03725f73f7df12260cd246.tar.gz ingen-89f56f276b9dc16fec03725f73f7df12260cd246.tar.bz2 ingen-89f56f276b9dc16fec03725f73f7df12260cd246.zip |
More obvious visual representation of polyphonic nodes.
git-svn-id: http://svn.drobilla.net/lad/ingen@715 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui')
-rw-r--r-- | src/libs/gui/NodeModule.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libs/gui/NodeModule.cpp b/src/libs/gui/NodeModule.cpp index cf4f1409..ecaafa65 100644 --- a/src/libs/gui/NodeModule.cpp +++ b/src/libs/gui/NodeModule.cpp @@ -42,9 +42,8 @@ NodeModule::NodeModule(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<NodeMode { assert(_node); - if (node->polyphonic()) { - set_border_width(2.0); - } + if (node->polyphonic()) + set_stacked_border(true); node->new_port_sig.connect(sigc::bind(sigc::mem_fun(this, &NodeModule::add_port), true)); node->removed_port_sig.connect(sigc::mem_fun(this, &NodeModule::remove_port)); |