mirror of
https://github.com/ppy/osu
synced 2024-12-23 23:33:36 +00:00
Use local input manager
This commit is contained in:
parent
daff060c9a
commit
1a55d92c71
@ -48,7 +48,7 @@ namespace osu.Game.Graphics.Cursor
|
||||
{
|
||||
base.Update();
|
||||
|
||||
var lastMouseSource = GetContainingInputManager().CurrentState.Mouse.LastSource;
|
||||
var lastMouseSource = inputManager.CurrentState.Mouse.LastSource;
|
||||
bool hasValidInput = lastMouseSource != null && !(lastMouseSource is ISourcedFromTouch);
|
||||
|
||||
if (!hasValidInput || !CanShowCursor)
|
||||
|
Loading…
Reference in New Issue
Block a user