summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2020-02-24 16:12:38 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2020-02-24 16:26:28 -0600
commit6b109bd2a6c288c4d4461d9fbdb3d691ee6a4e6d (patch)
treeb9bea54599dc20a0f36e087f00294a8ee2fe25c3 /Source/Core
parent122984b46e1e59f420fc2d086857b51a15fed40c (diff)
DolphinQt: Tweak indicator raw-input/input-shape color for better contrast in some dark themes.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt/Config/Mapping/MappingIndicator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt/Config/Mapping/MappingIndicator.cpp b/Source/Core/DolphinQt/Config/Mapping/MappingIndicator.cpp
index afe2b6eeba..f29555c2ef 100644
--- a/Source/Core/DolphinQt/Config/Mapping/MappingIndicator.cpp
+++ b/Source/Core/DolphinQt/Config/Mapping/MappingIndicator.cpp
@@ -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;
}