mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Make use of new timing system in Drawables and Transforms.
This commit is contained in:
@ -73,15 +73,9 @@ namespace osu.Game.Graphics.UserInterface.Volume
|
||||
}
|
||||
}
|
||||
|
||||
protected override bool OnWheelUp(InputState state)
|
||||
protected override bool OnWheel(InputState state)
|
||||
{
|
||||
Volume += 0.05f;
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override bool OnWheelDown(InputState state)
|
||||
{
|
||||
Volume -= 0.05f;
|
||||
Volume += 0.05f * state.Mouse.WheelDiff;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user