From 67c5edbbdef258427032f0294e452fae23dd7f3f Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Sun, 3 Mar 2024 11:50:07 -0800 Subject: [PATCH] rm irrelevant comment --- ui/browsing/nowplayingpage.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/ui/browsing/nowplayingpage.go b/ui/browsing/nowplayingpage.go index 5dd938e..0c1e737 100644 --- a/ui/browsing/nowplayingpage.go +++ b/ui/browsing/nowplayingpage.go @@ -197,9 +197,6 @@ func (a *NowPlayingPage) OnPlayTimeUpdate(_, _ float64) { } func (a *NowPlayingPage) doSetNewTrackOrder(trackIDs []string, op sharedutil.TrackReorderOp) { - // Since the tracklist view may be sorted in a different order than the - // actual running order, we need to get the IDs of the selected tracks - // from the tracklist and convert them to indices in the *original* run order idxs := make([]int, 0, len(trackIDs)) for i, tr := range a.queue { if sharedutil.SliceContains(trackIDs, tr.ID) {