mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-25 03:51:28 +02:00
DolphinQt/Mapping: Adjust dark theme indicator gate color calculation.
This commit is contained in:
parent
c770e7c276
commit
165e35ed5d
@ -125,7 +125,7 @@ QColor MappingIndicator::GetAltTextColor() const
|
||||
void MappingIndicator::AdjustGateColor(QColor* color)
|
||||
{
|
||||
if (Settings::Instance().IsThemeDark())
|
||||
color->setHsvF(color->hueF(), color->saturationF(), 1 - color->valueF());
|
||||
color->setHsvF(color->hueF(), std::min(color->saturationF(), 0.5f), color->valueF() * 0.35f);
|
||||
}
|
||||
|
||||
ButtonIndicator::ButtonIndicator(ControlReference* control_ref) : m_control_ref{control_ref}
|
||||
|
Loading…
x
Reference in New Issue
Block a user