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

Emit searchbox triggering canvas events #10

Merged
merged 2 commits into from
Jul 6, 2024
Merged

Conversation

huchenlei
Copy link
Member

This PR makes litegraph emits 2 events:

  • litegraph:canvas - empty-release
  • litegraph:canvas - empty-double-click

Both event can be observed from outside of litegraph to know when to show a search box. This PR is the preparation to replace litegraph's searchbox with an external searchbox.

@huchenlei huchenlei changed the title Emit canvas event Emit searchbox triggering canvas event Jul 6, 2024
@huchenlei huchenlei changed the title Emit searchbox triggering canvas event Emit searchbox triggering canvas events Jul 6, 2024
@huchenlei huchenlei merged commit e361b39 into master Jul 6, 2024
2 checks passed
@huchenlei huchenlei deleted the click_canvas_event branch July 6, 2024 22:13
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.

1 participant