Skip to content
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(front): reshape bbox with positive height/width #139

Merged
merged 2 commits into from
Feb 13, 2024

Conversation

BertrandRenault
Copy link
Contributor

close #118

@BertrandRenault BertrandRenault self-assigned this Feb 12, 2024
@BertrandRenault BertrandRenault added invalid No longer relevant scope: front Related to Pixano frontend labels Feb 12, 2024
@BertrandRenault BertrandRenault added this to the Pixano 0.5.0 milestone Feb 12, 2024
@BertrandRenault BertrandRenault changed the title fix: reshape bbox with positive height/width fix(front): reshape bbox with positive height/width Feb 12, 2024
@BertrandRenault BertrandRenault marked this pull request as ready for review February 12, 2024 15:44
timothee-LJN

This comment was marked as resolved.

@BertrandRenault
Copy link
Contributor Author

used getClientRect({relativeTo: ...}) for better handling of rotated rect (resize out of object bounds does rotate 180 or -180)

@cpvannier cpvannier added bug: minor Minor issues, minimal user impact and removed invalid No longer relevant labels Feb 13, 2024
@BertrandRenault BertrandRenault merged commit 49e0436 into develop Feb 13, 2024
5 checks passed
cpvannier pushed a commit that referenced this pull request Feb 15, 2024
* fix: reshape bbox with positive height/width

* fix: better handling of rect creation/edit
@cpvannier cpvannier deleted the fix/misplaced-bbox-label branch February 27, 2024 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: minor Minor issues, minimal user impact scope: front Related to Pixano frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bbox label misplaced when bbox created from right to left
3 participants