1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 12:53:11 +08:00

Update AdjustedAttributesTooltip.cs

This commit is contained in:
Givikap120 2023-12-10 00:51:50 +02:00
parent 78cdedf34d
commit f5b93121f1

View File

@ -111,6 +111,7 @@ namespace osu.Game.Overlays.Mods
protected override void Update()
{
}
public void SetContent(object content)
{
}
@ -128,12 +129,13 @@ namespace osu.Game.Overlays.Mods
private partial class AttributeDisplay : CompositeDrawable
{
public readonly Bindable<OldNewPair> AttributeValues;
public string AttributeName;
public readonly string AttributeName;
private OsuSpriteText text = new OsuSpriteText
private readonly OsuSpriteText text = new OsuSpriteText
{
Font = OsuFont.Default.With(weight: FontWeight.Bold)
};
public AttributeDisplay(string name, Bindable<OldNewPair> boundCopy)
{
AutoSizeAxes = Axes.Both;