mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-21 20:00:49 +01:00
Flutter's reorderable lists place the dragged row in the overlay by screen positions. With Interface size off 100%, or on a tablet, where the app scales itself, the overlay's pixels are not screen pixels, so the row was drawn up and to the left of the finger (at 85%, about 15% of the finger's distance from the top left corner), far enough to push its cover off the screen. ScaledDragProxy wraps the dragged row and moves it to where the finger is, from the overlay's own scale; it does nothing at 100%. It follows the row back to its place on a drop as well. Every reorderable list uses it: both queues, playlist and collection order, album track order and the two provider priority pages.