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