diff --git a/osu.Game.Rulesets.Karaoke/Edit/Components/Containers/EditorScrollContainer.cs b/osu.Game.Rulesets.Karaoke/Edit/Components/Containers/EditorScrollContainer.cs index 5f954eceb..1aef044ae 100644 --- a/osu.Game.Rulesets.Karaoke/Edit/Components/Containers/EditorScrollContainer.cs +++ b/osu.Game.Rulesets.Karaoke/Edit/Components/Containers/EditorScrollContainer.cs @@ -28,8 +28,7 @@ protected EditorScrollContainer() void assignZoomRange(float _) { // we should make sure that will not cause error while assigning the size. - MaxZoom = Math.Max(BindableZoom.MaxValue, MinZoom); - MinZoom = Math.Min(BindableZoom.MinValue, MaxZoom); + SetupZoom(BindableZoom.Value, BindableZoom.MinValue, BindableZoom.MaxValue); } BindableZoom.BindValueChanged(e => diff --git a/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj b/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj index e6c8d67fa..0a3f12443 100644 --- a/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj +++ b/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj @@ -18,7 +18,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - +