mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Set isBulkUpdating correctly
This commit is contained in:
parent
c838ca3a87
commit
4a752af88f
1 changed files with 1 additions and 1 deletions
|
@ -1818,7 +1818,7 @@ Blockly.WorkspaceSvg.prototype.setBulkUpdate = function(enabled) {
|
|||
// This will trigger a resize if necessary.
|
||||
this.setResizesEnabled(enabled);
|
||||
var stoppedUpdating = (this.isBulkUpdating_ && !enabled);
|
||||
this.isBulkUpdating_ = stoppedUpdating;
|
||||
this.isBulkUpdating_ = enabled;
|
||||
if (stoppedUpdating) {
|
||||
// Refresh the toolbox.
|
||||
if (this.toolbox_) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue