mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
Updating indentation.
This commit is contained in:
@@ -88,19 +88,19 @@ Blockly.blockRendering.Debug.prototype.drawSpacerRow = function(row, cursorY) {
|
||||
* @package
|
||||
*/
|
||||
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',
|
||||
{
|
||||
'class': 'elemSpacerRect blockRenderDebug',
|
||||
'x': cursorX,
|
||||
'y': yPos,
|
||||
'width': elem.width,
|
||||
'height': debugRenderedHeight,
|
||||
},
|
||||
this.svgRoot_));
|
||||
};
|
||||
function(elem, cursorX, centerY, rowHeight) {
|
||||
var debugRenderedHeight = Math.min(15, rowHeight);
|
||||
var yPos = centerY - debugRenderedHeight / 2;
|
||||
this.debugElements_.push(Blockly.utils.dom.createSvgElement('rect',
|
||||
{
|
||||
'class': 'elemSpacerRect blockRenderDebug',
|
||||
'x': cursorX,
|
||||
'y': yPos,
|
||||
'width': elem.width,
|
||||
'height': debugRenderedHeight,
|
||||
},
|
||||
this.svgRoot_));
|
||||
};
|
||||
|
||||
/**
|
||||
* Draw a debug rectangle for an in-row element.
|
||||
|
||||
Reference in New Issue
Block a user