mirror of
https://github.com/ppy/osu.git
synced 2026-05-30 06:39:53 +08:00
Stop using Drawable.Name to convey actual UI information
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user