1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 18:42:56 +08:00

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,
Anchor = Anchor.BottomRight,
@ -495,5 +495,19 @@ namespace osu.Game.Overlays.Mods
}
#endregion
protected class CModSettingsContainer : Container
{
protected override bool OnMouseDown(MouseDownEvent e)
{
return true;
}
protected override bool OnHover(HoverEvent e)
{
return true;
}
}
}
}