Open jasonsturges opened 1 year ago
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?
@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.
Probably should have been:
divWheel: app.view as HTMLCanvasElement
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