···55- Adds ability to download a playlist as a zip file
66- Fixes dark styles for add-to-playlist overlay
77- Improves CORS information a little bit
88+- Improves playlist drag & drop (now moves selection instead of item under cursor)
89- No longer scrolls track list to the top when moving things in a playlist or when processing tracks
910- Switches key bindings for arrow up and down
1011
+8-2
src/Applications/UI/Tracks.elm
···451451 in
452452 return { model | selectedTrackIndexes = selection }
453453454454- MoveTrackInSelectedPlaylist moveFromTo ->
454454+ MoveTrackInSelectedPlaylist { to } ->
455455 case model.selectedPlaylist of
456456 Just p ->
457457 let
458458+ moveParams =
459459+ { from = Maybe.withDefault 0 (List.head model.selectedTrackIndexes)
460460+ , to = to
461461+ , amount = List.length model.selectedTrackIndexes
462462+ }
463463+458464 updatedPlaylist =
459459- { p | tracks = List.move moveFromTo p.tracks }
465465+ { p | tracks = List.move moveParams p.tracks }
460466 in
461467 { model | selectedPlaylist = Just updatedPlaylist }
462468 |> reviseCollection arrange
+1-1
src/Applications/UI/Tracks/Reply.elm
···1313 = Transcend (List UI.Reply)
1414 --
1515 | MarkAsSelected Int { shiftKey : Bool }
1616- | MoveTrackInSelectedPlaylist { from : Int, to : Int }
1616+ | MoveTrackInSelectedPlaylist { to : Int }
1717 | ShowTrackMenuWithoutDelay Int { alt : Bool } Coordinates
1818 | ShowTrackMenuWithSmallDelay Int { alt : Bool } Coordinates
1919 | SortBy SortBy