-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Shift-Click to Deselect Edges/Faces #5289
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5289 +/- ##
==========================================
- Coverage 86.05% 85.90% -0.15%
==========================================
Files 92 92
Lines 33300 33495 +195
==========================================
+ Hits 28656 28774 +118
- Misses 4644 4721 +77
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, and confirmed it's working locally. Thank you!
Great work @max-mrgrsk! |
Summary
'Set selection'
action so shift-clicking a selected edge/face now removes it from selection instead of duplicating.Changes
Selections:
In
ModelingMachineProvider.tsx
under'Set selection'
, if shift is pressed, we now check if the item is already selected:Playwright Test:
Validates selecting/deselecting edges/faces:
Everything now correctly toggles on shift-click as expected.
Closes: #4760