fantasycalendar / FoundryVTT-Sequencer

This module implements a basic pipeline that can be used for managing the flow of a set of functions, effects, sounds, and macros.
Other
41 stars 17 forks source link

[MINOR BUG] - js console reporting sequencer using deprecated call in PixiJS #206

Closed galaara98 closed 8 months ago

galaara98 commented 9 months ago

Describe the bug not functional breaking, but should probably be addressed so that it doesnt get in the way later

To Reproduce Steps to reproduce the behavior: while using a browser connected to a foundry server that is showing dev tools (console tab) while sequencer is a loaded module in a world LOGIN to world in foundry Look for orange warning is jsconsole related to PixiJS, expand warning to see if it is referencing sequencer

In js console of browser: PixiJS Deprecation Warning: Setting interactive is deprecated, use eventMode = 'none'/'passive'/'auto'/'static'/'dynamic' instead.Deprecated since v7.2.0 index.mjs:2 at SequencerInterfaceLayer._setup (https://foundry.nodebased.server/modules/sequencer/module.js:19671:45)

Expected behavior no warning from PixiJS that .../modules/sequencer/.... is using deprecated functionality

NOTE: if it is useful, I reported the exact same issue to theripper93, for a module of theirs: light-switch (displayname lightswitch), the module code is patreon only, so I cant point you too it.

I believe that the related configuration just need to be changed to new verbiage, or some other very slight tweaking (theripper93 mentioned in a discord chat, before they dug into it at all, that it most likely just needed to be updated to 'auto' instead of 'interactive'), but I don't want to lead you on path I have no expertise in, just trying to give you as much information as I can.

Setup:

Active modules:

Additional context Again, NOT FUNCTION BREAKING... just giving you a heads up that a 3rd party thing your code is using is popping off a deprecation warning.

orangepeelbeef commented 8 months ago

dupe of #199

galaara98 commented 8 months ago

Closing in agreeance with orangepeelbeef