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): Do not add random transform shape after deleting an object #150

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

timothee-LJN
Copy link
Contributor

@timothee-LJN timothee-LJN commented Feb 15, 2024

Issue

Fixes #147

Description

The transformer is the Konva object that allow modifying shape.
When a rectangle is destroyed (removed from the DOM), it is always removed from the Transformer

@timothee-LJN timothee-LJN added the scope: front Related to Pixano frontend label Feb 15, 2024
@timothee-LJN timothee-LJN self-assigned this Feb 15, 2024
@cpvannier cpvannier added bug: minor Minor issues, minimal user impact priority: medium This item needs to be worked on soon labels Feb 15, 2024
@cpvannier cpvannier added this to the Pixano 0.5.0 milestone Feb 15, 2024
@timothee-LJN timothee-LJN merged commit 1a8b5a1 into develop Feb 15, 2024
5 checks passed
cpvannier pushed a commit that referenced this pull request Feb 15, 2024
#150)

* style(front): Remove dead code

* fix(front): Remove rectangle from shape transformer when its destroyed
@cpvannier cpvannier deleted the fix/delete-object-while-editing 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 priority: medium This item needs to be worked on soon scope: front Related to Pixano frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deleting an object while editing display a wrong edition box
3 participants