Function zng::scroll::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.