mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 15:33:05 +08:00
Keep button's text
This commit is contained in:
parent
bedc771e99
commit
1cc7ffce39
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user