mirror of
https://github.com/ppy/osu
synced 2025-04-01 22:48:33 +00:00
Rename method to better fit purpose
This commit is contained in:
parent
18b207400d
commit
1e34aca984
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user