onTabulation selection does not reset previously selected shapes display
bpioge opened this issue · comments
bpioge commented
onTabulation (pxn-canvas-2d.ts) do a this.targetShapes.set([nextShape]).
In the ShapesEditController, we observe the targetShapes but the "set" does not "clear" the shapes.
The case "set" should do the action that is in the case "clear" and then, the action in the case "add". We can also (the lazy way) just call this.targetShapes.clear() in onTabulation
camilledupont commented
@bpioge thanks so much for this finding :) I just rewrote the set function which clears and set the shapes.
PS: sorry for the delay !