1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 15:52:54 +08:00

Stop using Drawable.Name to convey actual UI information

This commit is contained in:
Dean Herbert 2023-04-25 20:24:36 +09:00
parent dd2c289ce9
commit 7630958633
3 changed files with 2 additions and 4 deletions

View File

@ -49,7 +49,7 @@ namespace osu.Game.Screens.Play
Position = new Vector2(0, -13) * scale_factor,
Font = OsuFont.Torus.With(size: name_font_size * scale_factor, weight: FontWeight.Bold),
Colour = colours.Blue0,
Text = Name
Text = Trigger.Name
},
countText = new OsuSpriteText
{

View File

@ -57,7 +57,7 @@ namespace osu.Game.Screens.Play.HUD
{
new OsuSpriteText
{
Text = Name,
Text = Trigger.Name,
Font = OsuFont.Numeric.With(size: 12),
Anchor = Anchor.Centre,
Origin = Anchor.Centre,

View File

@ -54,8 +54,6 @@ namespace osu.Game.Screens.Play.HUD
Trigger.OnActivate += Activate;
Trigger.OnDeactivate += Deactivate;
Name = trigger.Name;
}
private void increment()