Rename method to better fit purpose

This commit is contained in:
Bartłomiej Dach 2022-03-05 14:38:15 +01:00
parent 18b207400d
commit 1e34aca984
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -149,7 +149,7 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
windowModeDropdown.Current.BindValueChanged(mode => windowModeDropdown.Current.BindValueChanged(mode =>
{ {
updateFullscreenDropdowns(); updateDisplayModeDropdowns();
windowModeDropdown.WarningText = mode.NewValue != WindowMode.Fullscreen ? GraphicsSettingsStrings.NotFullscreenNote : default; windowModeDropdown.WarningText = mode.NewValue != WindowMode.Fullscreen ? GraphicsSettingsStrings.NotFullscreenNote : default;
}, true); }, true);
@ -175,7 +175,7 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
.Distinct()); .Distinct());
} }
updateFullscreenDropdowns(); updateDisplayModeDropdowns();
}), true); }), true);
scalingMode.BindValueChanged(mode => scalingMode.BindValueChanged(mode =>
@ -190,7 +190,7 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
// initial update bypasses transforms // initial update bypasses transforms
updateScalingModeVisibility(); updateScalingModeVisibility();
void updateFullscreenDropdowns() void updateDisplayModeDropdowns()
{ {
if (resolutions.Count > 1 && windowModeDropdown.Current.Value == WindowMode.Fullscreen) if (resolutions.Count > 1 && windowModeDropdown.Current.Value == WindowMode.Fullscreen)
resolutionDropdown.Show(); resolutionDropdown.Show();