Move ModSettingsContainer class inside ModSelectOverlay

This commit is contained in:
Leon Gebler
2020-10-12 00:16:18 +02:00
parent bd44340423
commit e5548a1216

View File

@ -284,7 +284,7 @@ namespace osu.Game.Overlays.Mods
}, },
}, },
}, },
ModSettingsContainer = new Container ModSettingsContainer = new CModSettingsContainer
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Anchor = Anchor.BottomRight, Anchor = Anchor.BottomRight,
@ -495,5 +495,19 @@ namespace osu.Game.Overlays.Mods
} }
#endregion #endregion
protected class CModSettingsContainer : Container
{
protected override bool OnMouseDown(MouseDownEvent e)
{
return true;
}
protected override bool OnHover(HoverEvent e)
{
return true;
}
}
} }
} }