X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fdecodesignal.cpp;h=b151b3911d13ef6beb570cb092cefae115660ef1;hb=0c0218fd70bde15f2ccd20f39f6d3ddddd3e1691;hp=afc465b9e7a1fe4ff39ce10f4a8acac14e8d1264;hpb=c51482b339fbb76e0de042ac3f136a6e5b752b9a;p=pulseview.git 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); } }