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:
parent
bd44340423
commit
e5548a1216
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user