mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09:00
Remove unused method
This commit is contained in:
parent
e151c7ffd0
commit
d0707079b1
@ -112,23 +112,6 @@ namespace osu.Game.Overlays
|
|||||||
muteButton.Current.ValueChanged += _ => Show();
|
muteButton.Current.ValueChanged += _ => Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool HandleAction(GlobalAction action)
|
|
||||||
{
|
|
||||||
if (!IsLoaded) return false;
|
|
||||||
|
|
||||||
switch (action)
|
|
||||||
{
|
|
||||||
case GlobalAction.DecreaseVolume:
|
|
||||||
case GlobalAction.IncreaseVolume:
|
|
||||||
return Adjust(action);
|
|
||||||
case GlobalAction.NextVolumeMeter:
|
|
||||||
return true;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool Adjust(GlobalAction action, float amount = 1, bool isPrecise = false)
|
public bool Adjust(GlobalAction action, float amount = 1, bool isPrecise = false)
|
||||||
{
|
{
|
||||||
if (!IsLoaded) return false;
|
if (!IsLoaded) return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user