1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Typo fix, removed unnecessary braces

This commit is contained in:
aQaTL 2018-01-17 14:36:33 +01:00
parent 538c20a947
commit ac41cb59ea
No known key found for this signature in database
GPG Key ID: 181719411A8555F0
2 changed files with 4 additions and 8 deletions

View File

@ -78,7 +78,7 @@ namespace osu.Game.Graphics.UserInterface.Volume
return true;
case GlobalAction.ToggleMute:
Show();
volumeMeterMaster.ToogleMute();
volumeMeterMaster.ToggleMute();
return true;
}
@ -96,17 +96,13 @@ namespace osu.Game.Graphics.UserInterface.Volume
public void Mute()
{
if (!IsMuted)
{
volumeMeterMaster.ToogleMute();
}
volumeMeterMaster.ToggleMute();
}
public void Unmute()
{
if (IsMuted)
{
volumeMeterMaster.ToogleMute();
}
volumeMeterMaster.ToggleMute();
}
[BackgroundDependencyLoader]

View File

@ -93,7 +93,7 @@ namespace osu.Game.Graphics.UserInterface.Volume
Volume -= 0.05f;
}
public void ToogleMute()
public void ToggleMute()
{
IsMuted = !IsMuted;
if (IsMuted)