From 89f56f276b9dc16fec03725f73f7df12260cd246 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 16 Sep 2007 19:01:20 +0000 Subject: More obvious visual representation of polyphonic nodes. git-svn-id: http://svn.drobilla.net/lad/ingen@715 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/gui/NodeModule.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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 canvas, SharedPtrpolyphonic()) { - 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)); -- cgit v1.2.1