Ensure aspect ratio slider gets an initial value

This commit is contained in:
Dean Herbert
2021-03-19 20:15:29 +09:00
parent 6f32c302eb
commit 63cbac3bd0

View File

@ -186,6 +186,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
aspectRatioApplication = Schedule(() => applyAspectRatio(sizeY));
});
updateAspectRatio();
aspectRatio.BindValueChanged(aspect =>
{
aspectRatioApplication?.Cancel();