We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Unless I'm mistaken, IViewportOptions no longer contains divWheel as per the current documentation:
divWheel
https://davidfig.github.io/pixi-viewport/jsdoc/Viewport.html#Viewport
Was this feature intentionally removed and the documentation now stale?
If it was removed, what replaces this functionality?
Latest v5.0.1
The text was updated successfully, but these errors were encountered:
Unless I'm mistaken, IViewportOptions no longer contains divWheel as per the current documentation: https://davidfig.github.io/pixi-viewport/jsdoc/Viewport.html#Viewport Was this feature intentionally removed and the documentation now stale? If it was removed, what replaces this functionality? Latest v5.0.1
Did you ever find a solution to this?
Sorry, something went wrong.
@SamHope1992
With Pixi v7, I use:
events: app.renderer.events,
Wth Pixi v6, I use:
divWheel: app.view, interaction: app.renderer.plugins.interaction,
I don't recall a solution for v5.
In retrospect, I imagine it was typing a issue where ICanvas interface didn't fulfill the Element type.
ICanvas
Element
Probably should have been:
divWheel: app.view as HTMLCanvasElement
No branches or pull requests
Unless I'm mistaken, IViewportOptions no longer contains
divWheel
as per the current documentation:https://davidfig.github.io/pixi-viewport/jsdoc/Viewport.html#Viewport
Was this feature intentionally removed and the documentation now stale?
If it was removed, what replaces this functionality?
Latest v5.0.1
The text was updated successfully, but these errors were encountered: