This PR simplifies toolbox refresh management. Previously, scratch-gui was patching the toolbox to prevent refreshes, and directly toggling a private ivar to work around a setter with side effects. Now, https://github.com/gonfunko/scratch-blocks/pull/77 just disables the normal toolbox refresh path in a subclass, and adds a forceRefresh method used here.
This PR simplifies toolbox refresh management. Previously, scratch-gui was patching the toolbox to prevent refreshes, and directly toggling a private ivar to work around a setter with side effects. Now, https://github.com/gonfunko/scratch-blocks/pull/77 just disables the normal toolbox refresh path in a subclass, and adds a forceRefresh method used here.