From 6a1ee141ea825b9158073a3a8ea548be7c01abdc Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Fri, 5 Mar 2021 14:23:43 -0800 Subject: [PATCH] Lint --- core/metrics_manager.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/metrics_manager.js b/core/metrics_manager.js index c9ad81545..17b63cf8d 100644 --- a/core/metrics_manager.js +++ b/core/metrics_manager.js @@ -219,8 +219,7 @@ Blockly.MetricsManager.prototype.getViewMetrics = function( if (toolboxPosition == Blockly.utils.toolbox.Position.TOP || toolboxPosition == Blockly.utils.toolbox.Position.BOTTOM) { svgMetrics.height -= toolboxMetrics.height; - } else if ( - toolboxPosition == Blockly.utils.toolbox.Position.LEFT || + } else if (toolboxPosition == Blockly.utils.toolbox.Position.LEFT || toolboxPosition == Blockly.utils.toolbox.Position.RIGHT) { svgMetrics.width -= toolboxMetrics.width; } @@ -228,8 +227,7 @@ Blockly.MetricsManager.prototype.getViewMetrics = function( if (toolboxPosition == Blockly.utils.toolbox.Position.TOP || toolboxPosition == Blockly.utils.toolbox.Position.BOTTOM) { svgMetrics.height -= flyoutMetrics.height; - } else if ( - toolboxPosition == Blockly.utils.toolbox.Position.LEFT || + } else if (toolboxPosition == Blockly.utils.toolbox.Position.LEFT || toolboxPosition == Blockly.utils.toolbox.Position.RIGHT) { svgMetrics.width -= flyoutMetrics.width; }