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

EditorBeatmap's TimelineZoom should never be zero

This commit is contained in:
Drison64 2022-09-17 15:59:42 +02:00
parent a2492a4ff5
commit 0b6a77bc8b

View File

@ -96,6 +96,7 @@ namespace osu.Game.Screens.Edit
PlayableBeatmap.ControlPointInfo = ConvertControlPoints(PlayableBeatmap.ControlPointInfo);
this.beatmapInfo = beatmapInfo ?? playableBeatmap.BeatmapInfo;
if (this.beatmapInfo.TimelineZoom <= 0) this.beatmapInfo.TimelineZoom = 1;
if (beatmapSkin is Skin skin)
{