gonfunko / scratch-gui

Graphical User Interface for creating and running Scratch 3.0 projects.
https://scratchfoundation.github.io/scratch-gui/develop/
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

fix: update the toolbox in response to procedure deletion/creation #18

Closed gonfunko closed 3 months ago

gonfunko commented 3 months ago

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