From b5582b542687399202985610568a575f49704660 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 23 Dec 2011 18:54:07 +0000 Subject: Use source port colour for connection colour. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3901 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchCanvas.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui') 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 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; -- cgit v1.2.1