summaryrefslogtreecommitdiff
path: root/plugingui/colour.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2018-06-10 13:53:06 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-08-12 11:13:52 +0200
commitb64e858af397e51c1f1bad95a1747a54a85ab744 (patch)
tree9ebfee051a86b16906ab850eb75af0d1bc70b98c /plugingui/colour.cc
parent3d218d5991a253f8d6a12db73908bead34d3e2da (diff)
Add instrument label and highlight of drums.
Diffstat (limited to 'plugingui/colour.cc')
-rw-r--r--plugingui/colour.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugingui/colour.cc b/plugingui/colour.cc
index 70aa562..02d03c6 100644
--- a/plugingui/colour.cc
+++ b/plugingui/colour.cc
@@ -62,7 +62,9 @@ Colour& Colour::operator=(const Colour& other)
bool Colour::operator==(const Colour& other) const
{
- return data == other.data;
+ return data[0] == other.data[0] &&
+ data[1] == other.data[1] &&
+ data[2] == other.data[2];
}
bool Colour::operator!=(const Colour& other) const