Static zng::scroll::cmd::ZOOM_IN_CMD
source · pub static ZOOM_IN_CMD: Command
Expand description
Represents the zoom in 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:
metadata | value |
---|---|
name | "Zoom In" |
shortcut | shortcut!(CTRL+'+') |
shortcut_filter | ShortcutFilter::FOCUSED | ShortcutFilter::CMD_ENABLED |
icon | wgt_fn!(|_| ICONS.get("zoom-in")) |
Text metadata is localized.