mirror of
https://github.com/ppy/osu
synced 2025-01-23 06:13:12 +00:00
Stop cursor moving when paused.
This commit is contained in:
parent
292de44a0b
commit
7110ab8e17
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user