@@ -5352,11 +5352,9 @@ If the panel has already been maximized in this fashion, then it will jump to
53525352its minimum size. Both jumps respect the resizable edges defined by the
53535353``resize_anchors `` attribute.
53545354
5355- The time duration that a double click can span is defined by the global variable
5356- ``DOUBLE_CLICK_MS ``. The default value is ``500 `` and can be changed by the end
5357- user with a command like::
5358-
5359- :lua require('gui.widgets').DOUBLE_CLICK_MS=1000
5355+ The time duration that a double click can span can be controlled via the
5356+ `control-panel ` or `gui/control-panel ` interfaces (``Mouse double click speed ``
5357+ option). It defaults to 500 ms.
53605358
53615359Window class
53625360------------
@@ -5558,16 +5556,14 @@ while scrolling will result in faster movement.
55585556You can click and drag the scrollbar to scroll to a specific spot, or you can
55595557click and hold on the end arrows or in the unfilled portion of the scrollbar to
55605558scroll multiple times, just like in a normal browser scrollbar. The speed of
5561- scroll events when the mouse button is held down is controlled by two global
5562- variables:
5563-
5564- :``SCROLL_INITIAL_DELAY_MS ``: The delay before the second scroll event.
5565- :``SCROLL_DELAY_MS ``: The delay between further scroll events.
5559+ scroll events when the mouse button is held down can be controlled
5560+ via the `control-panel ` or `gui/control-panel ` interfaces:
55665561
5567- The defaults are 300 and 20, respectively, but they can be overridden by the
5568- user in their :file: ` dfhack-config/init/dfhack.init ` file, for example::
5562+ 1. The delay before the second scroll event is the `` Mouse initial scroll repeat
5563+ delay `` setting (default is 300 ms)
55695564
5570- :lua require('gui.widgets').SCROLL_DELAY_MS = 100
5565+ 2. The delay between further scroll events is the ``Mouse scroll repeat delay `` option
5566+ (default is 20 ms)
55715567
55725568Label class
55735569-----------
0 commit comments