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

handle multiple concurrent pixi instances #46

Open
ethan-sletteland opened this issue Aug 16, 2024 · 0 comments
Open

handle multiple concurrent pixi instances #46

ethan-sletteland opened this issue Aug 16, 2024 · 0 comments

Comments

@ethan-sletteland
Copy link

i have a web app with a number of separate concurrent pixi instances. i've been selecting which instance to inspect (and which devtools to use) by setting a feature flag (i'm using launch darkly) and then manually attaching to window['PIXI_DEVTOOLS']. this has been working as expected, but i recently updated the env to pixi v8 and now regardless of what i do manually the devtools just pick up the most recent pixi instance to initialize. @Zyie suggested manually detaching global hooks so that i could manually select the pixi instance, but that hasn't worked for me as yet.

implementing something like tabs or a dropdown selector would be amazing, but at least being able to turn off automatic detection and manually select a specific application

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

1 participant