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

Update lora/model combo preview #423

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

christian-byrne
Copy link
Contributor

This PR resolves #413 by updating the lora/model combo preview to work with Comfy-Org/litegraph.js#414.

Changes include:

  • Use constant for width/height of preview image
  • Attach image preview to body instead of the context menu directly, as the context menu no longer shows overflow
  • Add mouseenter, mouseleave, and click handlers to manually calculate and update the position/visibility of the preview image

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.

Suddenly, the loader does not display the thumbnail image.
1 participant