From c4b88696031c215c711c9cbaf9a27052a64adcc4 Mon Sep 17 00:00:00 2001 From: kozbial Date: Thu, 10 Jun 2021 18:59:49 -0700 Subject: [PATCH] Update the registered component ids --- core/toolbox/toolbox.js | 2 +- core/trashcan.js | 2 +- core/zoom_controls.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/toolbox/toolbox.js b/core/toolbox/toolbox.js index ec7be95d43c..70579a5b3c3 100644 --- a/core/toolbox/toolbox.js +++ b/core/toolbox/toolbox.js @@ -68,7 +68,7 @@ Blockly.Toolbox = function(workspace) { * The unique id for this component. * @type {string} */ - this.id = Blockly.utils.genUid(); + this.id = 'toolbox'; /** * The JSON describing the contents of this toolbox. diff --git a/core/trashcan.js b/core/trashcan.js index 337a33289ff..1f4590cf4b4 100644 --- a/core/trashcan.js +++ b/core/trashcan.js @@ -58,7 +58,7 @@ Blockly.Trashcan = function(workspace) { * The unique id for this component. * @type {string} */ - this.id = Blockly.utils.genUid(); + this.id = 'trashcan'; /** * A list of XML (stored as strings) representing blocks in the trashcan. diff --git a/core/zoom_controls.js b/core/zoom_controls.js index b86111a3bb8..f294d9725f1 100644 --- a/core/zoom_controls.js +++ b/core/zoom_controls.js @@ -48,7 +48,7 @@ Blockly.ZoomControls = function(workspace) { * The unique id for this component. * @type {string} */ - this.id = Blockly.utils.genUid(); + this.id = 'zoomControls'; /** * A handle to use to unbind the mouse down event handler for zoom reset