pixi-viewport icon indicating copy to clipboard operation
pixi-viewport copied to clipboard

Missing event property from IViewportOptions

Open ArthurTimofey opened this issue 1 year ago • 3 comments

Hey,

Seems like the new updated code for pixi8 is missing properties for events:

image

Unless im missing something?

ArthurTimofey avatar Apr 12 '24 09:04 ArthurTimofey

temp solution:

npm i "https://github.com/davidfig/pixi-viewport.git#master" --save

you might need:

npm install --save-dev husky
npm install --global yarn

bumberboy avatar Apr 12 '24 10:04 bumberboy

@bumberboy doesn't seem to work for me as the issue seems to be in the src itself as even doing "pixi-viewport/src" yields same results.

ArthurTimofey avatar Apr 12 '24 11:04 ArthurTimofey

I believe the issue is in the version hosted by npm. In the master branch here, the Viewport has events instead of interactions. The command above will force npm to use the master branch on github instead of the package on npm. You might also want to try deleting the pixi-viewport directory from your node modules before running the command.

bumberboy avatar Apr 12 '24 13:04 bumberboy