Align single and continuous point commands

This commit is contained in:
ramox81 committed 2026-08-22 17:18:29 +03:00
1 parent cfbf3233be
commit ac99942519
2 files changed
+28 -10

No files matched your search

+6 -2
View File
@@ -674,9 +674,13 @@ impl OpenCADStudio {
}
}
"POINT" => {
"POINT" | "MULTIPOINT" => {
use crate::modules::draw::draw::point::PointCommand;
let new_cmd = PointCommand::new();
let new_cmd = if cmd == "MULTIPOINT" {
PointCommand::multiple()
} else {
PointCommand::new()
};
self.command_line.push_info(&new_cmd.prompt());
self.tabs[i].active_cmd = Some(Box::new(new_cmd));
}