mirror of
https://github.com/google/blockly.git
synced 2026-01-11 10:57:07 +01:00
Adding line wrap to drawSpacerElem function definition.
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user