[zelos] Add input outlines on the path object. (#3410)

* Add input outlines on the path object.
This commit is contained in:
Sam El-Husseini
2019-11-07 15:15:49 -08:00
committed by GitHub
parent a038bfde94
commit ee09aafd57
11 changed files with 189 additions and 65 deletions

View File

@@ -81,6 +81,16 @@ Blockly.zelos.ConstantProvider = function() {
*/
this.AFTER_STATEMENT_BOTTOM_ROW_MIN_HEIGHT = this.LARGE_PADDING * 2;
/**
* @override
*/
this.EMPTY_INLINE_INPUT_PADDING = 4 * this.GRID_UNIT;
/**
* @override
*/
this.EMPTY_INLINE_INPUT_HEIGHT = 8 * this.GRID_UNIT;
/**
* The ID of the highlight glow filter, or the empty string if no filter is
* set.
@@ -216,7 +226,7 @@ Blockly.zelos.ConstantProvider.prototype.shapeFor = function(
if (checks && checks.indexOf('String') != -1) {
return this.ROUNDED;
}
return this.PUZZLE_TAB;
return this.ROUNDED;
case Blockly.PREVIOUS_STATEMENT:
case Blockly.NEXT_STATEMENT:
return this.NOTCH;