mirror of
https://github.com/google/blockly.git
synced 2026-01-07 09:00:11 +01:00
Wrap dummy inputs in a measurable so that it can be aligned appropriately. (#3337)
This commit is contained in:
@@ -374,8 +374,8 @@ Blockly.blockRendering.RenderInfo.prototype.addInput_ = function(input, activeRo
|
||||
new Blockly.blockRendering.ExternalValueInput(this.constants_, input));
|
||||
activeRow.hasExternalInput = true;
|
||||
} else if (input.type == Blockly.DUMMY_INPUT) {
|
||||
// Dummy inputs have no visual representation, but the information is still
|
||||
// important.
|
||||
activeRow.elements.push(
|
||||
new Blockly.blockRendering.DummyInput(this.constants_, input));
|
||||
activeRow.hasDummyInput = true;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user