mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
EditorBeatmap's TimelineZoom should never be zero
This commit is contained in:
@ -96,6 +96,7 @@ namespace osu.Game.Screens.Edit
|
|||||||
PlayableBeatmap.ControlPointInfo = ConvertControlPoints(PlayableBeatmap.ControlPointInfo);
|
PlayableBeatmap.ControlPointInfo = ConvertControlPoints(PlayableBeatmap.ControlPointInfo);
|
||||||
|
|
||||||
this.beatmapInfo = beatmapInfo ?? playableBeatmap.BeatmapInfo;
|
this.beatmapInfo = beatmapInfo ?? playableBeatmap.BeatmapInfo;
|
||||||
|
if (this.beatmapInfo.TimelineZoom <= 0) this.beatmapInfo.TimelineZoom = 1;
|
||||||
|
|
||||||
if (beatmapSkin is Skin skin)
|
if (beatmapSkin is Skin skin)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user