X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fviewitem.cpp;h=a9c9b3dd8095673a8ef73717e965a2c4163ef13b;hb=2d14193769fead2c7882c63246b12b0f80df23d5;hp=55243860c0f4b342c86238fb9bae3f07968acf29;hpb=4c60462b00cc329e61daedd1c2e66724077bd412;p=pulseview.git diff --git a/pv/view/viewitem.cpp b/pv/view/viewitem.cpp index 5524386..a9c9b3d 100644 --- a/pv/view/viewitem.cpp +++ b/pv/view/viewitem.cpp @@ -107,7 +107,7 @@ void ViewItem::paint_fore(QPainter &p, const ViewItemPaintParams &pp) QColor ViewItem::select_text_colour(QColor background) { - return (background.lightness() > 64) ? Qt::black : Qt::white; + return (background.lightness() > 110) ? Qt::black : Qt::white; } } // namespace view