diff --git a/core/renderers/measurables/input_connection.js b/core/renderers/measurables/input_connection.js index 9a9edc887..420c508ca 100644 --- a/core/renderers/measurables/input_connection.js +++ b/core/renderers/measurables/input_connection.js @@ -40,7 +40,7 @@ Blockly.blockRendering.InputConnection = function(constants, input) { input.connection.targetBlock() : null; if (this.connectedBlock) { - var bBox = this.connectedBlock.getHeightWidth(); + const bBox = this.connectedBlock.getHeightWidth(); this.connectedBlockWidth = bBox.width; this.connectedBlockHeight = bBox.height; } else {