mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 06:39:14 +01:00
DolphinQt: Tweak indicator raw-input/input-shape color for better contrast in some dark themes.
This commit is contained in:
parent
122984b46e
commit
6b109bd2a6
@ -72,7 +72,9 @@ QBrush MappingIndicator::GetBBoxBrush() const
|
|||||||
|
|
||||||
QColor MappingIndicator::GetRawInputColor() const
|
QColor MappingIndicator::GetRawInputColor() const
|
||||||
{
|
{
|
||||||
return palette().shadow().color();
|
QColor color = palette().text().color();
|
||||||
|
color.setAlphaF(0.5);
|
||||||
|
return color;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPen MappingIndicator::GetInputShapePen() const
|
QPen MappingIndicator::GetInputShapePen() const
|
||||||
@ -82,8 +84,6 @@ QPen MappingIndicator::GetInputShapePen() const
|
|||||||
|
|
||||||
QColor MappingIndicator::GetAdjustedInputColor() const
|
QColor MappingIndicator::GetAdjustedInputColor() const
|
||||||
{
|
{
|
||||||
// Using highlight color works (typically blue) but the contrast is pretty low.
|
|
||||||
// return palette().highlight().color();
|
|
||||||
return Qt::red;
|
return Qt::red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user