summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/Port.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp
index f4c00b15..c492d2aa 100644
--- a/src/gui/Port.cpp
+++ b/src/gui/Port.cpp
@@ -78,8 +78,8 @@ Port::Port(App& app,
{
assert(pm);
- ArtVpathDash* dash = this->dash();
- _rect.property_dash() = dash;
+ //ArtVpathDash* dash = this->dash();
+ //_rect.property_dash() = dash;
set_border_width(1.0);
pm->signal_moved().connect(sigc::mem_fun(this, &Port::moved));
@@ -266,9 +266,7 @@ Port::property_changed(const URI& key, const Atom& value)
if (value == uris.lv2_toggled)
set_toggled(true);
} else if (key == uris.ctx_context) {
- ArtVpathDash* dash = this->dash();
- _rect.property_dash() = dash;
- set_border_width(dash ? 2.0 : 0.0);
+ Raul::info << "TODO: Visual indication of port context?" << std::endl;
} else if (key == uris.lv2_name) {
if (value.type() == Atom::STRING
&& _app.configuration()->name_style() == Configuration::HUMAN) {