Sketch text: live Edit Text from the Text tool, a font list, handles, and whole-text picking (#821)
Live Edit Text from the Text tool, a font list, handles, and picking the whole text.
This commit is contained in:
1 parent
69050c81d9
commit
ec5d7f9789
17 files changed
+1248
-80
No files matched your search
@@ -263,7 +263,10 @@ pub fn place(app: &mut SolveApp, p: (Vec2, Option<String>)) {
|
||||
let Some(mut tool) = app.tool.take() else { return };
|
||||
if tool.kind == Kind::Ext {
|
||||
crate::sketch_tools::place_point(app, &mut tool, p);
|
||||
app.tool = Some(tool);
|
||||
// A placed text opens Edit Text, which ends the tool.
|
||||
if !crate::sketch_text::editing(app) {
|
||||
app.tool = Some(tool);
|
||||
}
|
||||
return;
|
||||
}
|
||||
let Kind::Draw(n) = tool.kind else {
|
||||
|
||||
Reference in new issue
Block a user