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

refocus: don't leave the snippet if the active node is an exitNode (fix #1112). #1113

Merged
merged 2 commits into from
Feb 14, 2024

Conversation

L3MON4D3
Copy link
Owner

@L3MON4D3 L3MON4D3 commented Jan 17, 2024

If the node active within a snippet is an exitNode the leave-callback has already been called, and we should not trigger it again.

I think this should work, doing it as a PR since I want to add tests.

@L3MON4D3 L3MON4D3 changed the title refocus: don't leave the snippet if the active node is an exitNode. refocus: don't leave the snippet if the active node is an exitNode (fix #1112). Jan 17, 2024
@L3MON4D3 L3MON4D3 merged commit 81d83ec into master Feb 14, 2024
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