summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-06 17:54:39 +0000
committerDavid Robillard <d@drobilla.net>2007-04-06 17:54:39 +0000
commit5caea33db5cf3c2db9bf9ed042ce0c36d28e1f29 (patch)
tree071b77614d355fb07d49e8fb5e8b39eb8a80af95
parent871ef074d3bb3c4e731bcc88338a095da6822a1b (diff)
downloadingen-5caea33db5cf3c2db9bf9ed042ce0c36d28e1f29.tar.gz
ingen-5caea33db5cf3c2db9bf9ed042ce0c36d28e1f29.tar.bz2
ingen-5caea33db5cf3c2db9bf9ed042ce0c36d28e1f29.zip
Fixed overly dark connection colours.
git-svn-id: http://svn.drobilla.net/lad/ingen@406 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/progs/ingenuity/PatchCanvas.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/progs/ingenuity/PatchCanvas.cpp b/src/progs/ingenuity/PatchCanvas.cpp
index d90c1c1c..2279a053 100644
--- a/src/progs/ingenuity/PatchCanvas.cpp
+++ b/src/progs/ingenuity/PatchCanvas.cpp
@@ -203,7 +203,8 @@ PatchCanvas::connection(SharedPtr<ConnectionModel> cm)
const SharedPtr<LibFlowCanvas::Port> dst = get_port_view(cm->dst_port());
if (src && dst)
- add_connection(boost::shared_ptr<Connection>(new Connection(shared_from_this(), cm, src, dst, src->color() + 0xFFFFFF00)));
+ add_connection(boost::shared_ptr<Connection>(new Connection(shared_from_this(),
+ cm, src, dst, src->color() + 0x22222200)));
else
cerr << "[PatchCanvas] ERROR: Unable to find ports to connect "
<< cm->src_port_path() << " -> " << cm->dst_port_path() << endl;