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

fix: Don't record undo events for enable/disable #8049

Merged
merged 1 commit into from
Apr 30, 2024
Merged

Conversation

NeilFraser
Copy link
Contributor

There's no need to record and replay these events since the change will happen automatically anyway.

Resolves #7951

There's no need to record and replay these events since the change will happen automatically anyway.

Resolves #7951
@NeilFraser NeilFraser requested a review from a team as a code owner April 24, 2024 10:51
@github-actions github-actions bot added the PR: fix Fixes a bug label Apr 24, 2024
@BeksOmega
Copy link
Collaborator

I think it probably doesn't make sense to merge this into develop since John refactored the enable / disable system for v11. #7958

Can you check if the v11 branch could benefit from a similar change?

@NeilFraser
Copy link
Contributor Author

NeilFraser commented Apr 29, 2024

While issue #7951 doesn't appear in develop, this PR does reduce the number of events in the undo/redo stack. Eliminating the enable/disable event fixes one of the two errors in #7950.

@NeilFraser NeilFraser merged commit 185c82a into develop Apr 30, 2024
13 checks passed
@NeilFraser NeilFraser deleted the fraser-undo2 branch April 30, 2024 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In rc/v11.0.0 you can't redo drag changes that disable blocks
4 participants