davidfig / pixi-viewport

A highly configurable viewport/2D camera designed to work with pixi.js
https://davidfig.github.io/pixi-viewport/
MIT License
1.04k stars 174 forks source link

Update InputManager.ts #449

Closed Ragers closed 1 year ago

Ragers commented 1 year ago

fixes a deprecation that was issued from v7.2.0 for pixiJS. interactive layers should be assigned to eventMode = 'none'/'passive'/'auto'/'static'/'dynamic'

hmpthz commented 1 year ago

Does it really need 'dynamic' event mode? According to v7.2, 'dynamic' will also receive mock interaction events fired from a ticker to allow for interaction when the mouse isn't moving. I feel like 'static' might be enough.

436

davidfig commented 1 year ago

'static' was added in another PR. Thanks!