mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 18:42:56 +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 const int duration = 200;
|
||||||
|
|
||||||
private readonly LoadingSpinner spinner;
|
private readonly LoadingSpinner spinner;
|
||||||
private readonly OsuSpriteText text = null!;
|
private SpriteText text = null!;
|
||||||
|
|
||||||
public readonly BindableBool IsBlocked = new BindableBool();
|
public readonly BindableBool IsBlocked = new BindableBool();
|
||||||
|
|
||||||
@ -207,6 +207,11 @@ namespace osu.Game.Overlays.Comments
|
|||||||
Enabled.Value = !IsLoadingSpinnerShown && !e.NewValue;
|
Enabled.Value = !IsLoadingSpinnerShown && !e.NewValue;
|
||||||
}, true);
|
}, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override SpriteText CreateText()
|
||||||
|
{
|
||||||
|
return text = base.CreateText();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user