mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 00:33:21 +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)
|
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
||||||
{
|
{
|
||||||
switch (args.Key)
|
switch (args.Key)
|
||||||
|
Loading…
Reference in New Issue
Block a user