More cleanups

This commit is contained in:
smoogipoo
2020-08-12 00:48:38 +09:00
parent 031d29ac34
commit 070d71ec27
9 changed files with 12 additions and 15 deletions

View File

@ -2,7 +2,6 @@
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Diagnostics;
using osu.Framework.Allocation;
using osu.Framework.Audio.Track;
using osu.Framework.Bindables;
@ -64,8 +63,6 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
waveform.Waveform = b.NewValue.Waveform;
track = musicController.CurrentTrack;
Debug.Assert(track != null);
if (track.Length > 0)
{
MaxZoom = getZoomLevelForVisibleMilliseconds(500);