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

Replace wheel event implementation #10

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

Conversation

deciare
Copy link

@deciare deciare commented Aug 16, 2024

Fixes #7. Supersedes #9.

The breakage is present in at least Firefox, and is a side-effect of ComfyUI's LGraphCanvas listening for the deprecated mousewheel event instead of the modern wheel event, which passes insufficient information to the event handler.

In order to manipulate event listeners, we need to be able to run code after application setup is complete. To facilitate that, the code has been reworked as an extension instead of a custom node.

deciare added 2 commits August 3, 2024 04:27
In order to manipulate event listeners, we need to be able to run code
after application setup is complete. To facilitate that, the code has
been reworked as an extension instead of a custom node.

Fixes subtleGradient/TinkerBot-tech-for-ComfyUI-Touchpad/subtleGradient#7.
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.

Breaks current version
1 participant