mirror of
https://github.com/ppy/osu.git
synced 2025-02-20 06:53:03 +08:00
Update input handler logic to match framework changes.
This commit is contained in:
parent
ac8c180168
commit
3e9c398652
@ -75,7 +75,7 @@ namespace osu.Game.Graphics.UserInterface.Volume
|
||||
|
||||
protected override bool OnWheel(InputState state)
|
||||
{
|
||||
Volume += 0.05f * state.Mouse.WheelDiff;
|
||||
Volume += 0.05f * state.Mouse.WheelDelta;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -125,9 +125,9 @@ namespace osu.Game.Screens.Play
|
||||
{
|
||||
}
|
||||
|
||||
protected override void UpdateMouseState(InputState state)
|
||||
protected override void TransformState(InputState state)
|
||||
{
|
||||
base.UpdateMouseState(state);
|
||||
base.TransformState(state);
|
||||
|
||||
MouseState mouse = (MouseState)state.Mouse;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user