zng::scroll::cmd

Function scroll_to_zoom

source
pub fn scroll_to_zoom(
    target: impl ScrollToTargetProvider,
    mode: impl Into<ScrollToMode>,
    zoom: impl Into<Factor>,
)
Expand description

Like scroll_to, but also adjusts the zoom scale.