Skip to content

Implement mask editor undo/redo #3708

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

Merged
merged 4 commits into from
May 3, 2025

Conversation

Yiximail
Copy link
Contributor

@Yiximail Yiximail commented May 1, 2025

Bug fix:

  1. Added a destroy method to MaskEditorDialog for proper cleanup
  2. Refactored event listener bindings in KeyboardManager to use pre-bound functions. Now it is possible to remove event listeners correctly

New:

  1. Added a maskeditor_is_opended method to check the open state of the mask editor
  2. Intercept the key event listening of changeTracter by using maskeditor_is_opended. Ignored events when opening the mask editor
  3. Implement mask editor undo/redo

┆Issue is synchronized with this Notion page by Unito

@Yiximail Yiximail requested review from trsommer and a team as code owners May 1, 2025 04:46
@Yiximail
Copy link
Contributor Author

Yiximail commented May 1, 2025

the ci test failed? I haven't modified that file...


and, can you check this too please? :)
#3603 (review)

@huchenlei huchenlei merged commit cb9ec35 into Comfy-Org:main May 3, 2025
10 checks passed
christian-byrne pushed a commit that referenced this pull request May 5, 2025
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.

3 participants