1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:07:44 +08:00

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