mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
b21c29796495f7362a3c7ff979895ceca5be4f5e
`adjustAnchorOnRemove` moved the anchor to the canonical predecessor of the removed track, which in a shuffled queue is an unrelated play position, so removing the context anchor while playing a queued track teleported the up-next block somewhere random (and out of view). When the removed context track is the anchor, move the anchor to the track before it in play order (or -1), so the block stays where it sits. This also covers removing the playing context anchor, so the controller's separate re-anchor is no longer needed and is removed.
Languages
Kotlin
99.1%
Nushell
0.7%
Nix
0.1%