pikasojs / pikaso

Seamless, headless and fully tested HTML5 Canvas library
https://pikaso.app
MIT License
225 stars 18 forks source link

Groups events #116

Open KevyDev opened 1 month ago

KevyDev commented 1 month ago

Let me try ;)

I start with canvas.board.groups.attach(shapes, groupName) and it works OK!

Then, I used canvas.on(["selection:transform", "selection:dragmove"], () => {}) as a events handler...

And the situation is: selection:transform ----> it works when I transform shapes groups :) selection:dragmove----> it doesn't work when I'm dragging shapes groups or something like that :(

Can anyone look at this pls? Thanks

raminious commented 1 month ago

@KevyDev Could you provide a CodeSandbox? It would help me understand the scenario more clearly.