1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-26 22:03:04 +08:00

Allow skinnabledrawable to be auto-sized

This commit is contained in:
smoogipoo 2020-03-31 15:28:50 +09:00
parent ae668e3e87
commit b926d570ee

View File

@ -18,6 +18,12 @@ namespace osu.Game.Skinning
/// </summary> /// </summary>
public Drawable Drawable { get; private set; } public Drawable Drawable { get; private set; }
public new Axes AutoSizeAxes
{
get => base.AutoSizeAxes;
set => base.AutoSizeAxes = value;
}
private readonly ISkinComponent component; private readonly ISkinComponent component;
private readonly ConfineMode confineMode; private readonly ConfineMode confineMode;