mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Make the lighter color a little less light
This commit is contained in:
parent
7495fd3dd6
commit
00ee35c05a
@ -5255,7 +5255,7 @@ void Style::drawPrimitive(PrimitiveElement element, const QStyleOption *option,
|
|||||||
if (color.lightness() > 128)
|
if (color.lightness() > 128)
|
||||||
color = color.darker(widget->property("highlight_current_item").toInt());
|
color = color.darker(widget->property("highlight_current_item").toInt());
|
||||||
else
|
else
|
||||||
color = color.lighter();
|
color = color.lighter(135);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool square((opts.square&SQUARE_LISTVIEW_SELECTION) &&
|
bool square((opts.square&SQUARE_LISTVIEW_SELECTION) &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user