1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-20 15:52:55 +08:00

Revert autosizing in OsuButton

This commit is contained in:
ansel 2022-11-30 13:12:10 +03:00
parent 956acbc86f
commit f4a8ac60a8

View File

@ -175,17 +175,6 @@ namespace osu.Game.Graphics.UserInterface
base.OnMouseUp(e);
}
public new Axes AutoSizeAxes
{
get => base.AutoSizeAxes;
set
{
base.AutoSizeAxes = value;
Content.RelativeSizeAxes = ~value;
Content.AutoSizeAxes = value;
}
}
protected virtual SpriteText CreateText() => new OsuSpriteText
{
Depth = -1,