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