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

allow use zoom.js outside webui context [for extensions] #15286

Conversation

light-and-ray
Copy link
Contributor

@light-and-ray light-and-ray commented Mar 17, 2024

Description

Hello. Inside my extension I use gr.mount_gradio_app, and there I use window.applyZoomAndPanIntegration. It doesn't work there because it requires tabs with specific element ids, and I had to use modifyed version of zoom.js. Now I've understood it's not a big deal to patch zoom.js to allow work outside webui context

Checklist:

@AUTOMATIC1111 AUTOMATIC1111 merged commit c12ba58 into AUTOMATIC1111:dev Mar 17, 2024
3 checks passed
@light-and-ray light-and-ray mentioned this pull request Mar 17, 2024
4 tasks
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

Successfully merging this pull request may close these issues.

2 participants