mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 09:22:54 +08:00
Don't allow clicks/hover events to pass through the options overlay.
This commit is contained in:
parent
5757f844bf
commit
446b277972
@ -159,8 +159,12 @@ namespace osu.Game.Overlays
|
||||
}
|
||||
}
|
||||
|
||||
protected override bool OnHover(InputState state) => true;
|
||||
|
||||
protected override bool OnMouseDown(InputState state, MouseDownEventArgs args) => true;
|
||||
|
||||
protected override bool OnClick(InputState state) => true;
|
||||
|
||||
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
||||
{
|
||||
switch (args.Key)
|
||||
|
Loading…
Reference in New Issue
Block a user