1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 07:22:55 +08:00
This commit is contained in:
Dean Herbert 2018-03-07 14:54:54 +09:00
parent 4094ffbddd
commit a71e5ce19c

View File

@ -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)
{ {