forked from 1b-agent/opencadstudio-upstream
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
d133fcb42e
1 file changed
+11
-1
@@ -2154,7 +2154,17 @@ impl OpenCADStudio {
|
|||||||
}
|
}
|
||||||
"LTSCALE" => {
|
"LTSCALE" => {
|
||||||
use crate::command::ValuePromptCommand;
|
use crate::command::ValuePromptCommand;
|
||||||
let c = ValuePromptCommand::new("LTSCALE", "LTSCALE new global line-type scale:");
|
|
||||||
|
let current = self.tabs[i].scene.document.header.linetype_scale;
|
||||||
|
|
||||||
|
self.command_line
|
||||||
|
.push_output(crate::tf!("LTSCALE = {current:.4}").as_ref());
|
||||||
|
|
||||||
|
let c = ValuePromptCommand::new(
|
||||||
|
"LTSCALE",
|
||||||
|
"LTSCALE new global line-type scale:",
|
||||||
|
);
|
||||||
|
|
||||||
self.command_line.push_info(&c.prompt());
|
self.command_line.push_info(&c.prompt());
|
||||||
self.tabs[i].active_cmd = Some(Box::new(c));
|
self.tabs[i].active_cmd = Some(Box::new(c));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user