X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fviewitem.cpp;h=a9c9b3dd8095673a8ef73717e965a2c4163ef13b;hb=20dd116e6f728645b4c9c8ba6c74f535759d7a1a;hp=55243860c0f4b342c86238fb9bae3f07968acf29;hpb=32c589f0f6a2218e81d4ee984335c4a88c79b35f;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