mirror of
https://github.com/google/blockly.git
synced 2026-01-10 02:17:09 +01:00
Fix #1539
This commit is contained in:
@@ -923,8 +923,9 @@ Blockly.WorkspaceSvg.prototype.paste = function(xmlBlock) {
|
||||
* @private
|
||||
*/
|
||||
Blockly.WorkspaceSvg.prototype.refreshToolboxSelection_ = function() {
|
||||
if (this.toolbox_ && this.toolbox_.flyout_ && !this.currentGesture_) {
|
||||
this.toolbox_.refreshSelection();
|
||||
var ws = this.isFlyout ? this.targetWorkspace : this;
|
||||
if (ws && !ws.currentGesture_ && ws.toolbox_ && ws.toolbox_.flyout_) {
|
||||
ws.toolbox_.refreshSelection();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user