-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Labels
Description
Hi!
I have a project where I have a map where I can zoom and pan around. As far as I know this interaction is can not be created inside the editor so I use ctx.scale and ctx.setTransform to calculate these movements. Everything is working fine until I add Listeners to objects.
The problem is when I zoom in or pan around the graphic elements are moving around nicely and scaling up but the listener which I guess lives on a different layer and it's not scaled and positioned with the graphic.
My question is: is it possible to have the listeners also scaled/transformed with the graphics or can I access it through custom renderer or it isn't possible at all? (I use @rive-app/canvas)