Closed tzy502 closed 1 year ago
Which version of a pixijs are you using?
7.1.4
It seems to be related to the changes which were made in pixijs 7.2, where displayObject.interactive = true
was deprecated, and 5.2 version of this library is transfered from displayObject.interactive = true
to displayObject.eventMode = "static"
, which means that if you are using pixijs < 7.2 and viewport 5.2 interaction won't work properly
You can see those changes listed here
thank you
When using version 5.0.2, the code viewport.drag().pinch().wheel().decelerate() in the demo does not enable dragging functionality. I had to roll back to version 5.0.1 in order to make it work properly.