mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Update toolbox.js
This commit is contained in:
parent
03250c9c5d
commit
c5246fc8e2
1 changed files with 1 additions and 2 deletions
|
@ -278,7 +278,6 @@ Blockly.Toolbox.prototype.populate_ = function(newTree) {
|
|||
Blockly.resizeSvgContents(this.workspace_);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Sync trees of the toolbox.
|
||||
* @param {Node} treeIn DOM tree of blocks, or null.
|
||||
|
@ -357,7 +356,6 @@ Blockly.Toolbox.prototype.syncTrees_ = function(treeIn, treeOut, pathToMedia) {
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Recursively add colours to this toolbox.
|
||||
* @param {Blockly.Toolbox.TreeNode} opt_tree Starting point of tree.
|
||||
|
@ -457,6 +455,7 @@ Blockly.Toolbox.TreeControl.prototype.enterDocument = function() {
|
|||
this.handleTouchEvent_);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Handles touch events.
|
||||
* @param {!goog.events.BrowserEvent} e The browser event.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue