mirror of
https://github.com/ppy/osu.git
synced 2024-12-24 23:12:54 +08:00
Revert autosizing in OsuButton
This commit is contained in:
parent
956acbc86f
commit
f4a8ac60a8
@ -175,17 +175,6 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
base.OnMouseUp(e);
|
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
|
protected virtual SpriteText CreateText() => new OsuSpriteText
|
||||||
{
|
{
|
||||||
Depth = -1,
|
Depth = -1,
|
||||||
|
Loading…
Reference in New Issue
Block a user