1
0
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:
Dean Herbert 2016-11-04 12:29:05 +09:00
parent 2135b93791
commit 10e5472624

View File

@ -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)