Static zng_wgt_scroll::ZOOM_WHEEL_ORIGIN_VAR
source ยท pub static ZOOM_WHEEL_ORIGIN_VAR: ContextVar<Point>
Expand description
Center point of zoom scaling done using the mouse scroll wheel.
Relative values are resolved in the viewport space. The scroll offsets so that the point in the viewport and content stays as close as possible after the scale change.
The default value (Length::Default
) is the cursor position.