mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
`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.