Static zng::scroll::cmd::ZOOM_OUT_CMD

source ·
pub static ZOOM_OUT_CMD: Command
Expand description

Represents the zoom out action.

§Parameter

This commands accepts an optional Point parameter that defines the origin of the scale transform, relative values are resolved in the viewport space. The default value is top-start.

§Metadata

This command has the following default metadata:

metadatavalue
name "Zoom Out"
shortcut shortcut!(CTRL+'-')
shortcut_filter ShortcutFilter::FOCUSED | ShortcutFilter::CMD_ENABLED
icon wgt_fn!(|_| ICONS.get("zoom-out"))

Text metadata is localized.