From d2277f0c4bb5f07ba3e92e9c54955edc16a83607 Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Mon, 7 Jan 2019 16:04:10 -0800 Subject: [PATCH] Updated createZoomSVG comments. --- core/zoom_controls.js | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/core/zoom_controls.js b/core/zoom_controls.js index b204fd586..5ba858a37 100644 --- a/core/zoom_controls.js +++ b/core/zoom_controls.js @@ -183,14 +183,14 @@ Blockly.ZoomControls.prototype.position = function() { * @private */ Blockly.ZoomControls.prototype.createZoomOutSvg_ = function(rnd) { - /* This markup will be generated and added to the "blocklyZoom" group: - - - - - + + - + */ var ws = this.workspace_; this.zoomOutGroup_ = Blockly.utils.createSvgElement('g', @@ -236,16 +236,15 @@ Blockly.ZoomControls.prototype.createZoomOutSvg_ = function(rnd) { * @private */ Blockly.ZoomControls.prototype.createZoomInSvg_ = function(rnd) { - /* This markup will be generated and added to the "blocklyZoom" group: - - - - - + + + + - + */ - var ws = this.workspace_; this.zoomInGroup_ = Blockly.utils.createSvgElement('g', {'class': 'blocklyZoom'}, this.svgGroup_); @@ -290,14 +289,14 @@ Blockly.ZoomControls.prototype.createZoomInSvg_ = function(rnd) { * @private */ Blockly.ZoomControls.prototype.createZoomResetSvg_ = function(rnd) { - /* This markup will be generated and added to the "blocklyZoom" group: - - + /* This markup will be generated and added to the .svgGroup_: + + - - + - + */ var ws = this.workspace_; this.zoomResetGroup_ = Blockly.utils.createSvgElement('g',