mirror of
https://github.com/google/blockly.git
synced 2026-01-10 02:17:09 +01:00
Remove duplicate check and undo changes in debugger render.
This commit is contained in:
@@ -64,9 +64,9 @@ Blockly.blockRendering.Debug = function() {
|
||||
|
||||
Blockly.blockRendering.Debug.getDebugConfig = function() {
|
||||
return {
|
||||
rowSpacers: true,
|
||||
// rowSpacers: true,
|
||||
// elemSpacers: true,
|
||||
rows: true,
|
||||
// rows: true,
|
||||
elems: true,
|
||||
// connections: true,
|
||||
blockBounds: true,
|
||||
|
||||
@@ -262,10 +262,6 @@ Blockly.blockRendering.RenderInfo.prototype.shouldStartNewRow_ = function(input,
|
||||
if (!lastInput) {
|
||||
return false;
|
||||
}
|
||||
// A statement input always gets a new row.
|
||||
if (input.type == Blockly.NEXT_STATEMENT) {
|
||||
return true;
|
||||
}
|
||||
// A statement input or an input following one always gets a new row.
|
||||
if (input.type == Blockly.NEXT_STATEMENT ||
|
||||
lastInput.type == Blockly.NEXT_STATEMENT) {
|
||||
|
||||
Reference in New Issue
Block a user