cad-editor/src/modules/view/pan.rs

10 lines
311 B
Rust
Raw Normal View History

2026-03-22 14:56:27 +03:00
use crate::modules::{IconKind, ModuleEvent, ToolDef};
pub const ICON: IconKind = IconKind::Svg(include_bytes!("../../../assets/icons/pan.svg"));
2026-03-22 14:56:27 +03:00
pub fn tool() -> ToolDef {
2026-05-12 10:36:15 +03:00
ToolDef {
id: "PAN",
label: "Pan",
icon: ICON,
event: ModuleEvent::Command("PAN".to_string()),
}
2026-03-22 14:56:27 +03:00
}