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:
parent
dd2c289ce9
commit
7630958633
@ -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
|
||||
{
|
||||
|
@ -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,
|
||||
|
@ -54,8 +54,6 @@ namespace osu.Game.Screens.Play.HUD
|
||||
|
||||
Trigger.OnActivate += Activate;
|
||||
Trigger.OnDeactivate += Deactivate;
|
||||
|
||||
Name = trigger.Name;
|
||||
}
|
||||
|
||||
private void increment()
|
||||
|
Loading…
Reference in New Issue
Block a user