mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21:43:04 +08:00
Block mouse events from hitting things behind options.
This commit is contained in:
parent
2135b93791
commit
10e5472624
@ -83,6 +83,8 @@ namespace osu.Game.Overlays
|
||||
};
|
||||
}
|
||||
|
||||
protected override bool OnMouseDown(InputState state, MouseDownEventArgs args) => true;
|
||||
|
||||
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
||||
{
|
||||
switch (args.Key)
|
||||
|
Loading…
Reference in New Issue
Block a user