1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 13:22:55 +08:00

Keep button's text

This commit is contained in:
ansel 2022-11-30 13:40:47 +03:00
parent bedc771e99
commit 1cc7ffce39

View File

@ -165,7 +165,7 @@ namespace osu.Game.Overlays.Comments
private const int duration = 200;
private readonly LoadingSpinner spinner;
private readonly OsuSpriteText text = null!;
private SpriteText text = null!;
public readonly BindableBool IsBlocked = new BindableBool();
@ -207,6 +207,11 @@ namespace osu.Game.Overlays.Comments
Enabled.Value = !IsLoadingSpinnerShown && !e.NewValue;
}, true);
}
protected override SpriteText CreateText()
{
return text = base.CreateText();
}
}
}
}