Adding line wrap to drawSpacerElem function definition.

This commit is contained in:
kozbial
2019-07-25 11:42:48 -07:00
parent 8e477f0313
commit 01f24a81db

View File

@@ -87,7 +87,8 @@ Blockly.blockRendering.Debug.prototype.drawSpacerRow = function(row, cursorY) {
* @param {number} rowHeight The height of the container row.
* @package
*/
Blockly.blockRendering.Debug.prototype.drawSpacerElem = function(elem, cursorX, centerY, rowHeight) {
Blockly.blockRendering.Debug.prototype.drawSpacerElem =
function(elem, cursorX, centerY, rowHeight) {
var debugRenderedHeight = Math.min(15, rowHeight);
var yPos = centerY - debugRenderedHeight / 2;
this.debugElements_.push(Blockly.utils.dom.createSvgElement('rect',