DolphinQt: Tweak indicator raw-input/input-shape color for better contrast in some dark themes.

This commit is contained in:
Jordan Woyak 2020-02-24 16:12:38 -06:00
parent 122984b46e
commit 6b109bd2a6
1 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,9 @@ QBrush MappingIndicator::GetBBoxBrush() const
QColor MappingIndicator::GetRawInputColor() const
{
return palette().shadow().color();
QColor color = palette().text().color();
color.setAlphaF(0.5);
return color;
}
QPen MappingIndicator::GetInputShapePen() const
@ -82,8 +84,6 @@ QPen MappingIndicator::GetInputShapePen() const
QColor MappingIndicator::GetAdjustedInputColor() const
{
// Using highlight color works (typically blue) but the contrast is pretty low.
// return palette().highlight().color();
return Qt::red;
}