mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 21:44:57 +00:00
In a list view shorter than 56 pt the 28 pt top and bottom bands of the drag autoscroll overlapped, so their speeds partly canceled: in a 40 pt view a pointer 19 pt down scrolled at 20 pt/s instead of 74. In a view shorter than 28 pt a pointer just outside one edge scrolled toward the other. Each band is now at most half the view, so the pointer is in one band at most. Views of 56 pt or more keep their bands and speeds. The band and speed math moves into drag_scroll_speed, with a test of short, tall and invalid view heights.