zng_wgt_scroll

Function zoom_wheel_unit

source
pub fn zoom_wheel_unit(
    child: impl UiNode,
    unit: impl IntoVar<Factor>,
) -> impl UiNode
Expand description

P Scale delta added when the mouse wheel is zooming by lines.

The unit value is multiplied by the MouseScrollDelta::LineDelta value to determinate the scale delta.

This property sets the ZOOM_WHEEL_UNIT_VAR.