forked from 1b-agent/opencadstudio-upstream
Return from Draw submenus with Escape and place split tools last
This commit is contained in:
1 parent
ac8215c1b7
commit
75cc49d629
3 files changed
+29
-11
No files matched your search
+11
-11
@@ -15,7 +15,7 @@ use crate::modules::IconKind;
|
||||
use crate::t;
|
||||
use crate::ui::{icons, wrap_bar::PosReport};
|
||||
|
||||
const PANEL_ID: &str = "draw_extension";
|
||||
pub(super) const PANEL_ID: &str = "draw_extension";
|
||||
const TITLE_ID: &str = "draw_extension_title";
|
||||
const SCALE: f32 = 0.7;
|
||||
const CELL: f32 = 36.0 * SCALE;
|
||||
@@ -54,16 +54,6 @@ const TOOLS: &[Tool] = &[
|
||||
icon: include_bytes!("../../../assets/icons/ray.svg"),
|
||||
options: &[],
|
||||
},
|
||||
Tool {
|
||||
command: "MULTIPOINT",
|
||||
label: "Multiple Points",
|
||||
icon: include_bytes!("../../../assets/icons/multipoint.svg"),
|
||||
options: &[
|
||||
("POINT", "Single Point"),
|
||||
("MULTIPOINT", "Multiple Points"),
|
||||
("DDPTYPE", "Point Style"),
|
||||
],
|
||||
},
|
||||
Tool {
|
||||
command: "DIVIDE",
|
||||
label: "Divide",
|
||||
@@ -106,6 +96,16 @@ const TOOLS: &[Tool] = &[
|
||||
icon: include_bytes!("../../../assets/icons/donut.svg"),
|
||||
options: &[],
|
||||
},
|
||||
Tool {
|
||||
command: "MULTIPOINT",
|
||||
label: "Multiple Points",
|
||||
icon: include_bytes!("../../../assets/icons/multipoint.svg"),
|
||||
options: &[
|
||||
("POINT", "Single Point"),
|
||||
("MULTIPOINT", "Multiple Points"),
|
||||
("DDPTYPE", "Point Style"),
|
||||
],
|
||||
},
|
||||
Tool {
|
||||
command: "REVCLOUD",
|
||||
label: "Revision Cloud",
|
||||
|
||||
Reference in new issue
Block a user