mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 23:37:26 +08:00
EditorBeatmap's TimelineZoom should never be zero
This commit is contained in:
parent
a2492a4ff5
commit
0b6a77bc8b
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user