mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 07:22:55 +08:00
Tidy up
This commit is contained in:
parent
4094ffbddd
commit
a71e5ce19c
@ -10,7 +10,6 @@ using osu.Framework.Graphics;
|
|||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Framework.Graphics.Effects;
|
using osu.Framework.Graphics.Effects;
|
||||||
using osu.Framework.Graphics.Shapes;
|
using osu.Framework.Graphics.Shapes;
|
||||||
using osu.Framework.Graphics.Transforms;
|
|
||||||
using osu.Framework.Graphics.UserInterface;
|
using osu.Framework.Graphics.UserInterface;
|
||||||
using osu.Framework.Input.Bindings;
|
using osu.Framework.Input.Bindings;
|
||||||
using osu.Game.Graphics;
|
using osu.Game.Graphics;
|
||||||
@ -161,15 +160,9 @@ namespace osu.Game.Overlays.Volume
|
|||||||
private set => Bindable.Value = value;
|
private set => Bindable.Value = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Increase()
|
public void Increase() => Volume += 0.05f;
|
||||||
{
|
|
||||||
Volume += 0.05f;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Decrease()
|
public void Decrease() => Volume -= 0.05f;
|
||||||
{
|
|
||||||
Volume -= 0.05f;
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool OnPressed(GlobalAction action)
|
public bool OnPressed(GlobalAction action)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user