forked from 1b-agent/opencadstudio-upstream
fix(scene): clear selection after erase
This commit is contained in:
1 parent
05b044f367
commit
8050fc79fd
7 files changed
+50
-11
No files matched your search
@@ -334,7 +334,9 @@ impl OpenCADStudio {
|
||||
n += 1;
|
||||
}
|
||||
// Draw the text in front of its newly-added masks.
|
||||
self.tabs[i].scene.selected = handles.iter().cloned().collect();
|
||||
self.tabs[i]
|
||||
.scene
|
||||
.replace_selection(handles.iter().cloned().collect());
|
||||
self.tabs[i].dirty = true;
|
||||
self.command_line
|
||||
.push_output(&format!("TEXTMASK: masked {n} text object(s)."));
|
||||
|
||||
Reference in new issue
Block a user