mirror of
https://github.com/google/blockly.git
synced 2026-01-18 14:27:12 +01:00
Migrate core/renderers/measurables/input_connection.js to ES6 const/let
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user