1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 03:47:04 +08:00

Keep button's text

This commit is contained in:
ansel
2022-11-30 13:40:47 +03:00
Unverified
parent bedc771e99
commit 1cc7ffce39
+6 -1
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();
}
}
}
}