mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
Fix render issue with block factory connection dropdown (#4334)
This commit is contained in:
@@ -87,7 +87,9 @@ Blockly.Blocks['factory_base'] = {
|
||||
type.setShadow(true);
|
||||
type.outputConnection.connect(this.getInput(outputType).connection);
|
||||
type.initSvg();
|
||||
type.render();
|
||||
if (this.rendered) {
|
||||
type.render();
|
||||
}
|
||||
},
|
||||
updateShape_: function(option) {
|
||||
var outputExists = this.getInput('OUTPUTTYPE');
|
||||
|
||||
Reference in New Issue
Block a user