mit-cml / workspace-multiselect

A Blockly plugin that allows you to drag, select and manipulate multiple blocks in the workspace.
https://hollowman6.github.io/workspace-multiselect/multi-workspace
11 stars 12 forks source link

Blocks with same ID get selected on all workspaces #23

Closed laurensvalk closed 11 months ago

laurensvalk commented 11 months ago

This seems to happen with blocks with the same ID, e.g:

https://github.com/mit-cml/workspace-multiselect/assets/12326241/b3578854-a95d-4c7f-8b9c-63d5b836381e

HollowMan6 commented 11 months ago

Unfortunately, I was aware of this issue already, as this is a side effect of https://github.com/mit-cml/workspace-multiselect/commit/9893cc401084e9e992e55d26503876297ad03c6c

I didn't come up with a good solution to that and I didn't think this was a big issue at that time. Let me know if this is troubling you.

laurensvalk commented 11 months ago

Thank you. I had disabled the extension for a while as I was working on other things (including modifying the BlockDragger for something unrelated). I am starting to put things back together now to see how it will go :slightly_smiling_face:

The demo above is just a test project to preview multiple workspaces together. The actual app won't have it like this.

HollowMan6 commented 11 months ago

PR opened at #24 . This should fix the issue