cad-editor/src/modules/insert/snap_underlays.rs

11 lines
347 B
Rust
Raw Normal View History

use crate::modules::{IconKind, ModuleEvent, ToolDef};
2026-05-12 10:36:15 +03:00
pub const ICON: IconKind =
IconKind::Svg(include_bytes!("../../../assets/icons/snap_underlays.svg"));
pub fn tool() -> ToolDef {
2026-05-12 10:36:15 +03:00
ToolDef {
id: "UOSNAP",
label: "Snap to\nUnderlays",
icon: ICON,
event: ModuleEvent::Command("UOSNAP".to_string()),
}
}