1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 00:02:54 +08:00

rename container class to be more descriptive

This commit is contained in:
Leon Gebler 2020-10-12 21:24:42 +02:00
parent 7df9282727
commit 1a85123b89

View File

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