forked from 1b-agent/opencadstudio-upstream
feat(select): invert selection from the right-click menu
Add an Invert Selection entry to the selection context menu (below Select Similar): it replaces the current selection with every other selectable object in the active layout. Candidates come from the visible wire set, so objects on off/frozen layers stay excluded. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
e562738d9e
commit
fd15dd0aac
4 files changed
+38
No files matched your search
@@ -2907,6 +2907,10 @@ fn viewport_context_menu_overlay(
|
||||
));
|
||||
items.push(sep());
|
||||
items.push(item("Select Similar".to_string(), Message::SelectSimilar));
|
||||
items.push(item(
|
||||
"Invert Selection".to_string(),
|
||||
Message::InvertSelection,
|
||||
));
|
||||
}
|
||||
if isolation_active {
|
||||
items.push(item(
|
||||
|
||||
Reference in new issue
Block a user