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: fix bug where user would be prompted to confirm deletion of variable blocks in the flyout #125

Closed
wants to merge 1 commit into from

Conversation

gonfunko
Copy link
Owner

This PR fixes a bug where deleting a variable via the "Delete the 'X' variable" menu item in the variable dropdown field of a block in the flyout would ask the user to confirm the deletion of the 5 other uses of that variable, ie the other variable-related blocks in the flyout. Now, the user will only be prompted to confirm the deletion of uses of the variable in the main workspace.

@gonfunko
Copy link
Owner Author

I realized this is actually present in core (v12, a regression from v11), so going to try fixing it there.

@gonfunko
Copy link
Owner Author

Reverting in favor of fixing upstream with google/blockly#8529.

@gonfunko gonfunko closed this Aug 14, 2024
@gonfunko gonfunko deleted the delete-variable branch August 14, 2024 21:31
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.

2 participants