Stop cursor moving when paused.

This commit is contained in:
Dean Herbert 2017-03-16 22:50:16 +09:00
parent 292de44a0b
commit 7110ab8e17
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -78,6 +78,8 @@ namespace osu.Game.Screens.Play
// Don't let mouse down events through the overlay or people can click circles while paused.
protected override bool OnMouseDown(InputState state, MouseDownEventArgs args) => true;
protected override bool OnMouseMove(InputState state) => true;
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
{
if (args.Key == Key.Escape)