const ZOOM_LOCK_SCROLL_DELTA_INTENT: f32 = 14.0;
Expand description

The zoom scroll delta that is considered an “intent” to zoom, rather than the accidental zooming that Zoom Lock is supposed to help. This is used for both [AutoPressBehaviors::Toggle] and [AutoPressBehaviors::Auto].

This value should likely differ between trackpad scrolling and various mouse wheels, but we just choose a reasonable default.

All the mice I have can only scroll at |delta|=15 no matter how fast, I guess the default should be less than that so it gets seen. This could possibly be a user setting changed only in a config file; it’s too minor to put in the GUI. If a player reports that their scroll wheel is apparently not working, this value may be to blame (i.e. their intent to scroll is not being detected at a low enough scroll speed).