mirror of
https://github.com/google/blockly.git
synced 2026-01-10 18:37:09 +01:00
Update toolbox.js
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user