Make all FocusedOverlays hide on clicks outside of themselves

Also allows wheel events to pass through around them.
This commit is contained in:
Dean Herbert
2017-12-30 20:45:41 +09:00
parent be8c3d2e97
commit 442a649c63
5 changed files with 44 additions and 15 deletions

View File

@ -65,8 +65,6 @@ namespace osu.Game.Overlays
AlwaysPresent = true;
}
protected override bool OnDragStart(InputState state) => true;
protected override bool OnDrag(InputState state)
{
Trace.Assert(state.Mouse.PositionMouseDown != null, "state.Mouse.PositionMouseDown != null");