mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Stop cursor moving when paused.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user