Update parameter discards

This commit is contained in:
Dean Herbert
2022-06-24 21:25:23 +09:00
parent 30eebf3511
commit 31a447fda0
182 changed files with 309 additions and 309 deletions

View File

@ -160,13 +160,13 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
scalingSettings.ForEach(s => bindPreviewEvent(s.Current));
windowModeDropdown.Current.BindValueChanged(mode =>
windowModeDropdown.Current.BindValueChanged(_ =>
{
updateDisplayModeDropdowns();
updateScreenModeWarning();
}, true);
windowModes.BindCollectionChanged((sender, args) =>
windowModes.BindCollectionChanged((_, _) =>
{
if (windowModes.Count > 1)
windowModeDropdown.Show();
@ -190,7 +190,7 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
updateDisplayModeDropdowns();
}), true);
scalingMode.BindValueChanged(mode =>
scalingMode.BindValueChanged(_ =>
{
scalingSettings.ClearTransforms();
scalingSettings.AutoSizeDuration = transition_duration;