mirror of
https://github.com/ppy/osu
synced 2025-01-10 08:09:40 +00:00
Use CompositeDrawable as a parent class
This commit is contained in:
parent
16b6ed846f
commit
0070f6b260
@ -19,7 +19,7 @@ using osu.Framework.Graphics.Sprites;
|
||||
|
||||
namespace osu.Game.Overlays.BeatmapSet
|
||||
{
|
||||
public class LeaderboardModSelector : Container
|
||||
public class LeaderboardModSelector : CompositeDrawable
|
||||
{
|
||||
public readonly Bindable<IEnumerable<Mod>> SelectedMods = new Bindable<IEnumerable<Mod>>();
|
||||
public readonly Bindable<RulesetInfo> Ruleset = new Bindable<RulesetInfo>();
|
||||
@ -30,7 +30,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
{
|
||||
AutoSizeAxes = Axes.Y;
|
||||
RelativeSizeAxes = Axes.X;
|
||||
Child = modsContainer = new FillFlowContainer<ModButton>
|
||||
InternalChild = modsContainer = new FillFlowContainer<ModButton>
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
|
Loading…
Reference in New Issue
Block a user