mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 23:07:26 +08:00
Merge pull request #182 from peppy/input-handler-improvements
Update input handler logic to match framework changes.
This commit is contained in:
commit
ba84904150
@ -1 +1 @@
|
||||
Subproject commit 9ed3a191bf76ead6ff34ac468898a0119b8e5454
|
||||
Subproject commit 1d43e1ed56421fbbefdf6c23dab8deeeaa0f592a
|
@ -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