-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix: BROS-708: Zoom shape corruption #9159
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
base: develop
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for label-studio-docs-new-theme canceled.
|
✅ Deploy Preview for heartex-docs canceled.
|
✅ Deploy Preview for label-studio-playground ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for label-studio-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## develop #9159 +/- ##
===========================================
- Coverage 66.12% 57.97% -8.15%
===========================================
Files 828 557 -271
Lines 64797 40371 -24426
Branches 10939 10927 -12
===========================================
- Hits 42846 23407 -19439
+ Misses 21947 16960 -4987
Partials 4 4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
yyassi-heartex
left a comment
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.
was this not used else where? cleanup is great i just want to make sure we're not removing things un-expectedly
This PR addresses the issue when dragging shape points in zoomed-in view would cause abrupt zoom reset and shape corruption.
The root cause was in the legacy transformation logic (pre-group-transform) that was running after every transform of a shape. This logic was unnecessary in the current setup and group transformations (multi-shape) are handled elsewhere.
Removing the logic fixes the bug, zoom reset doesn't happen anymore, shape stays stable after all transformations.