X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fdecodesignal.cpp;fp=pv%2Fview%2Fdecodesignal.cpp;h=b151b3911d13ef6beb570cb092cefae115660ef1;hp=afc465b9e7a1fe4ff39ce10f4a8acac14e8d1264;hb=f9abdc014adda6771828db4c8caa8f66e066b7a3;hpb=c51482b339fbb76e0de042ac3f136a6e5b752b9a diff --git a/pv/view/decodesignal.cpp b/pv/view/decodesignal.cpp index afc465b9..b151b391 100644 --- a/pv/view/decodesignal.cpp +++ b/pv/view/decodesignal.cpp @@ -104,9 +104,8 @@ void DecodeSignal::paint_mid(QPainter &p, int left, int right) vector< shared_ptr > annotations(_decoder->annotations()); BOOST_FOREACH(shared_ptr a, annotations) { assert(a); - a->paint(p, _colour, _colour.darker(), get_text_colour(), - _text_size.height(), left, right, samples_per_pixel, - pixels_offset, y); + a->paint(p, get_text_colour(), _text_size.height(), + left, right, samples_per_pixel, pixels_offset, y); } }