Skip to content

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

Merged
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
light-and-ray:allow_use_zoom.js_outside_webui_context
Mar 17, 2024
Merged

allow use zoom.js outside webui context [for extensions]#15286
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
light-and-ray:allow_use_zoom.js_outside_webui_context

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
@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