mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 22:03:21 +08:00
Make BeatmapOptionsButton insertion cleaner
This commit is contained in:
parent
7bdf737956
commit
9037fb59de
@ -110,8 +110,7 @@ namespace osu.Game.Screens.Select.Options
|
|||||||
HotKey = hotkey
|
HotKey = hotkey
|
||||||
};
|
};
|
||||||
|
|
||||||
buttonsContainer.Add(button);
|
buttonsContainer.Insert((int)depth, button);
|
||||||
buttonsContainer.SetLayoutPosition(button, depth);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user