From ab03c4f411515844fe0fd58adcf5f5b43fb6095c Mon Sep 17 00:00:00 2001 From: Rodrigo Queiro Date: Tue, 12 Jul 2016 01:43:29 +0200 Subject: [PATCH] Remove out-of-date comment (#474) This comment made sense [before multiple workspace support](https://github.com/google/blockly/blob/67140282a08b10d0beb8d842a2dc35beadc5d5e0/core/blockly.js#L297), where it was near a (Blockly.readOnly || isTargetSvg) check. Now, this logic is implemented in BlockSvg.onMouseDown_() instead. --- core/workspace_svg.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/workspace_svg.js b/core/workspace_svg.js index 4c2d85661..9d4cab477 100644 --- a/core/workspace_svg.js +++ b/core/workspace_svg.js @@ -656,8 +656,6 @@ Blockly.WorkspaceSvg.prototype.onMouseDown_ = function(e) { // Right-click. this.showContextMenu_(e); } else if (this.scrollbar) { - // If the workspace is editable, only allow scrolling when gripping empty - // space. Otherwise, allow scrolling when gripping anywhere. this.isScrolling = true; // Record the current mouse position. this.startDragMouseX = e.clientX;