Revert some more instances of 'e' variable names

This commit is contained in:
Dean Herbert
2019-02-22 20:13:38 +09:00
parent 999b36ad17
commit 367bc53a06
50 changed files with 99 additions and 99 deletions

View File

@ -25,7 +25,7 @@ namespace osu.Game.Screens.Multi.Components
[BackgroundDependencyLoader]
private void load()
{
CurrentItem.BindValueChanged(e => updateText(), true);
CurrentItem.BindValueChanged(_ => updateText(), true);
}
private float textSize = OsuFont.DEFAULT_FONT_SIZE;

View File

@ -51,11 +51,11 @@ namespace osu.Game.Screens.Multi.Components
}
};
CurrentItem.BindValueChanged(e =>
CurrentItem.BindValueChanged(item =>
{
beatmapAuthor.Clear();
var beatmap = e.NewValue?.Beatmap;
var beatmap = item.NewValue?.Beatmap;
if (beatmap != null)
{

View File

@ -46,9 +46,9 @@ namespace osu.Game.Screens.Multi.Components
},
};
CurrentItem.BindValueChanged(e => updateBeatmap(e.NewValue), true);
CurrentItem.BindValueChanged(item => updateBeatmap(item.NewValue), true);
Type.BindValueChanged(e => gameTypeContainer.Child = new DrawableGameType(e.NewValue) { Size = new Vector2(height) }, true);
Type.BindValueChanged(type => gameTypeContainer.Child = new DrawableGameType(type.NewValue) { Size = new Vector2(height) }, true);
}
private void updateBeatmap(PlaylistItem item)

View File

@ -16,7 +16,7 @@ namespace osu.Game.Screens.Multi.Components
InternalChild = sprite = CreateBackgroundSprite();
CurrentItem.BindValueChanged(e => sprite.Beatmap.Value = e.NewValue?.Beatmap, true);
CurrentItem.BindValueChanged(item => sprite.Beatmap.Value = item.NewValue?.Beatmap, true);
}
protected virtual UpdateableBeatmapBackgroundSprite CreateBackgroundSprite() => new UpdateableBeatmapBackgroundSprite { RelativeSizeAxes = Axes.Both };

View File

@ -50,7 +50,7 @@ namespace osu.Game.Screens.Multi.Components
};
MaxParticipants.BindValueChanged(_ => updateMax(), true);
ParticipantCount.BindValueChanged(e => count.Text = e.NewValue.ToString("#,0"), true);
ParticipantCount.BindValueChanged(c => count.Text = c.NewValue.ToString("#,0"), true);
}
private void updateMax()

View File

@ -53,7 +53,7 @@ namespace osu.Game.Screens.Multi.Components
public EndDatePart()
: base(DateTimeOffset.UtcNow)
{
EndDate.BindValueChanged(e => Date = e.NewValue);
EndDate.BindValueChanged(date => Date = date.NewValue);
}
protected override string Format()

View File

@ -25,7 +25,7 @@ namespace osu.Game.Screens.Multi.Components
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
status.BindValueChanged(e => this.FadeColour(e.NewValue.GetAppropriateColour(colours), transitionDuration), true);
status.BindValueChanged(s => this.FadeColour(s.NewValue.GetAppropriateColour(colours), transitionDuration), true);
}
}
}