forked from 1b-agent/opencadstudio-upstream
12 lines
347 B
Rust
12 lines
347 B
Rust
use crate::modules::{IconKind, ModuleEvent, ToolDef};
|
|
pub const ICON: IconKind =
|
|
IconKind::Svg(include_bytes!("../../../assets/icons/snap_underlays.svg"));
|
|
pub fn tool() -> ToolDef {
|
|
ToolDef {
|
|
id: "UOSNAP",
|
|
label: "Snap to\nUnderlays",
|
|
icon: ICON,
|
|
event: ModuleEvent::Command("UOSNAP".to_string()),
|
|
}
|
|
}
|