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

Reordering regions does not work after boolean ops #42

Open
anibalsolon opened this issue Feb 19, 2021 · 0 comments
Open

Reordering regions does not work after boolean ops #42

anibalsolon opened this issue Feb 19, 2021 · 0 comments

Comments

@anibalsolon
Copy link

Bug! 🐞

After subtracting regions (probably adding too), the paper.js state & microdraw global state get desynced in the matter of ordering (i.e. Microdraw.ImageInfo[i].Regions vs paper.project.activeLayer.children[i]), so the function _isPaperRegionsOrderOk returns false.

To reproduce:

  • Draw three overlapping regions (like a Venn diagram with 3 intersected, but not contained, sets)
  • Select the topmost region
  • Click in the subtract tool
  • Click in the bottommost region
  • Try to send to front or to back any region
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant