mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 15:12:57 +08:00
Rename long variable
This commit is contained in:
parent
20175a884a
commit
4af508235e
@ -50,17 +50,17 @@ namespace osu.Game.Screens.Play.HUD
|
||||
|
||||
public User User { get; }
|
||||
|
||||
private readonly bool localOrReplayPlayer;
|
||||
private readonly bool trackedPlayer;
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="GameplayLeaderboardScore"/>.
|
||||
/// </summary>
|
||||
/// <param name="user">The score's player.</param>
|
||||
/// <param name="localOrReplayPlayer">Whether the player is the local user or a replay player.</param>
|
||||
public GameplayLeaderboardScore(User user, bool localOrReplayPlayer)
|
||||
/// <param name="trackedPlayer">Whether the player is the local user or a replay player.</param>
|
||||
public GameplayLeaderboardScore(User user, bool trackedPlayer)
|
||||
{
|
||||
User = user;
|
||||
this.localOrReplayPlayer = localOrReplayPlayer;
|
||||
this.trackedPlayer = trackedPlayer;
|
||||
|
||||
AutoSizeAxes = Axes.Both;
|
||||
|
||||
@ -77,7 +77,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
Color4 panelColour, textColour;
|
||||
float panelWidth;
|
||||
|
||||
if (localOrReplayPlayer)
|
||||
if (trackedPlayer)
|
||||
{
|
||||
panelWidth = extended_width;
|
||||
panelColour = Color4Extensions.FromHex("7fcc33");
|
||||
|
Loading…
Reference in New Issue
Block a user