ScrollConfig
interludesoftware.tick¶
Interlude.Tick¶
ScrollConfig Struct¶
Properties¶
ScrollConfig.AllowMouseDrag Property¶
When true, the mouse pointer's left-button-drag also scrolls. Off by default because desktop convention reserves mouse drag for selection / grabbing widgets; turn on for hybrid touch / mouse builds (mobile companion apps run on a desktop, touch-style UIs that also accept a pointer).
Property Value¶
ScrollConfig.AllowTouchDrag Property¶
When true (default), a touch press inside the view rect followed by movement past DragThreshold translates the scroll offset. The mouse pointer is excluded — mouse-left-drag-to-scroll is opt-in via AllowMouseDrag.
Property Value¶
ScrollConfig.Default Property¶
Default-initialised ScrollConfig ships with touch drag on and mouse drag
off. Callers that build a config directly (new ScrollConfig { … }) miss
these defaults; use this static instead, or set the fields explicitly.
Property Value¶
ScrollConfig.DragThreshold Property¶
Layout-space pixels a pointer must move from its press position before the press is interpreted as a drag. Below the threshold the pointer is still a "potential" drag — no scroll happens — so a finger that taps a button inside the scroll without moving doesn't accidentally translate the view.