Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing event property from IViewportOptions #484

Open
ArthurTimofey opened this issue Apr 12, 2024 · 3 comments
Open

Missing event property from IViewportOptions #484

ArthurTimofey opened this issue Apr 12, 2024 · 3 comments

Comments

@ArthurTimofey
Copy link

Hey,

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

image

Unless im missing something?

@bumberboy
Copy link

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

@ArthurTimofey
Copy link
Author

@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.

@bumberboy
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants