Fixing eslint issue and missing getLastInput call.

This commit is contained in:
kozbial
2019-08-19 14:14:11 -07:00
parent 2d314cbd4a
commit 4debe8f967
2 changed files with 2 additions and 1 deletions

View File

@@ -219,7 +219,7 @@ Blockly.blockRendering.Drawer.prototype.drawStatementInput_ = function(row) {
Blockly.blockRendering.constants.INSIDE_CORNERS.pathTop;
var innerHeight =
row.height -(2 * Blockly.blockRendering.constants.INSIDE_CORNERS.height);
row.height - (2 * Blockly.blockRendering.constants.INSIDE_CORNERS.height);
this.outlinePath_ += Blockly.utils.svgPaths.lineOnAxis('H', x) +
innerTopLeftCorner +

View File

@@ -134,6 +134,7 @@ Blockly.blockRendering.Highlighter.prototype.drawValueInput = function(row) {
};
Blockly.blockRendering.Highlighter.prototype.drawStatementInput = function(row) {
var input = row.getLastInput();
var steps = '';
if (this.RTL_) {
var innerHeight = row.height - (2 * this.insideCornerPaths_.height);