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: update the toolbox in response to procedure deletion/creation #18

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

gonfunko
Copy link
Owner

@gonfunko gonfunko commented Aug 5, 2024

In conjunction with gonfunko/scratch-blocks#107, this PR updates the toolbox to remove custom block/procedure call blocks when the custom block/procedure is deleted. It also fixes scratchfoundation/scratch-blocks#2010 and scratchfoundation/scratch-blocks#1982 from upstream Scratch where undoing a procedure/custom block definition did not readd the caller block to the toolbox.

@gonfunko gonfunko merged commit 505011d into modern-blockly Aug 6, 2024
@gonfunko gonfunko deleted the procedure-deletion branch August 6, 2024 16:40
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.

When undoing deletion of define block, it should update the toolboox
2 participants