frontend: Fix muted colors

This commit is contained in:
Warchamp7
2026-03-21 19:35:18 -04:00
committed by Ryan Foster
parent 6953e5b2c1
commit 42564df7ec
3 changed files with 30 additions and 22 deletions

View File

@@ -725,7 +725,7 @@ void VolumeControl::updateMixerState()
bool showAsUnassigned = !muted && unassigned;
volumeMeter->setMuted((showAsMuted || showAsUnassigned) && !showAsMonitored);
setUseDisabledColors(showAsMuted);
setUseDisabledColors(showAsMuted || !isActive);
// Qt doesn't support overriding the QPushButton icon using pseudo state selectors like :checked
// in QSS so we set a checked class selector on the button to be used instead.