mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Remove out-of-date comment (#474)
This comment made sense [before multiple workspace support](67140282a0/core/blockly.js (L297)
), where it was near a (Blockly.readOnly || isTargetSvg) check. Now, this logic is implemented in BlockSvg.onMouseDown_() instead.
This commit is contained in:
parent
c9437ec7c4
commit
ab03c4f411
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue