You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In DeskTop, the scrollbars always have a thumbmax of 20 (see desktop/main.s CreateIconsForWindow) and the scroll bar arrows scroll by 1/20th of the range at a time. This means if the icon bounds are only e.g. 40 pixels larger than the viewport, each scroll tick is 2 pixels, which is really slow.
To improve this, the max should be dynamic and based on comparing the icon bbox and viewport, and then each scroll tick should be a fixed number of pixels instead.
Beware of edge cases when the icon bbox is offset from the view (e.g. potentially even smaller); the effective bounds probably need to be the bounding rect containing both the icon bbox and the viewport.
The text was updated successfully, but these errors were encountered:
In DeskTop, the scrollbars always have a
thumbmax
of 20 (see desktop/main.sCreateIconsForWindow
) and the scroll bar arrows scroll by 1/20th of the range at a time. This means if the icon bounds are only e.g. 40 pixels larger than the viewport, each scroll tick is 2 pixels, which is really slow.To improve this, the max should be dynamic and based on comparing the icon bbox and viewport, and then each scroll tick should be a fixed number of pixels instead.
Beware of edge cases when the icon bbox is offset from the view (e.g. potentially even smaller); the effective bounds probably need to be the bounding rect containing both the icon bbox and the viewport.
The text was updated successfully, but these errors were encountered: