update docs for clicking and dragging scrollbars

develop
myk002 2022-10-07 16:38:44 -07:00
parent 31efd4177f
commit 9a0f9f210b
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 5 additions and 3 deletions

@ -4064,9 +4064,11 @@ direction. The amount of scrolling done in each case in determined by the
associated widget, and after scrolling is complete, the associated widget must
call ``scrollbar:update()`` with updated new display info.
You can hold down the mouse button to scroll multiple times, just like in a
normal browser scrollbar. The speed of scroll events when the mouse button is
held down is controlled by two global variables:
You can click and drag the scrollbar to scroll to a specific spot, or you can
click and hold on the end arrows or in the unfilled portion of the scrollbar to
scroll multiple times, just like in a normal browser scrollbar. The speed of
scroll events when the mouse button is held down is controlled by two global
variables:
:``SCROLL_INITIAL_DELAY_MS``: The delay before the second scroll event.
:``SCROLL_DELAY_MS``: The delay between further scroll events.