Record origin position of scrollbars to improve grab mechanics - #31
Record origin position of scrollbars to improve grab mechanics#31ScoreUnder wants to merge 1 commit into
Conversation
|
I'm not going to comment on the code, but the behavior on this little test is nice. Maybe there could be a directory of small examples, with this as Also, unrelated, but the colors are bad, it's nearly impossible to see the cursor with dark grey on light gray. I suggest: |
|
The behavior would be nice to have, but I am not fond of using permanent_sensor for this use-case. In practice, scrolling a list of scroll bars (ok, that does not happen every day) changes from being O(1) to O(n) (wrt to the number of scroll bars). It would be more elegant to switch the sensor on only when grabbing the control. |
Test scrollbars with: