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
commit 7520306671
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

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