summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-23 18:54:07 +0000
committerDavid Robillard <d@drobilla.net>2011-12-23 18:54:07 +0000
commitb5582b542687399202985610568a575f49704660 (patch)
treeeadd578edf14889b4cfcab6222a49f3044f643ae /src
parent8def8244a0e3e4440d7206883c9e144749a2392d (diff)
downloadingen-b5582b542687399202985610568a575f49704660.tar.gz
ingen-b5582b542687399202985610568a575f49704660.tar.bz2
ingen-b5582b542687399202985610568a575f49704660.zip
Use source port colour for connection colour.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3901 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/gui/PatchCanvas.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index 8254b4ed..47cd552b 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -487,8 +487,7 @@ PatchCanvas::connection(SharedPtr<const ConnectionModel> cm)
Ganv::Port* const dst = get_port_view(cm->dst_port());
if (src && dst) {
- new GUI::Connection(*this, cm, src, dst,
- src->get_fill_color() + 0x22222200);
+ new GUI::Connection(*this, cm, src, dst, src->get_fill_color());
} else {
LOG(error) << "Unable to find ports to connect "
<< cm->src_port_path() << " -> " << cm->dst_port_path() << endl;