Merge pull request #8317 from CookiePLMonster/muted-percent

Fix "Muted%" OSD message when muting sounds via a hotkey
This commit is contained in:
JosJuice
2019-08-17 19:49:56 +02:00
committed by GitHub

View File

@ -302,8 +302,7 @@ void HotkeyScheduler::Run()
OSD::AddMessage(std::string("Volume: ") +
(SConfig::GetInstance().m_IsMuted ?
"Muted" :
std::to_string(SConfig::GetInstance().m_Volume)) +
"%");
std::to_string(SConfig::GetInstance().m_Volume) + "%"));
};
// Volume