enable monitors for dynamic extension blocks
This commit is contained in:
1 parent
ebe310bc65
commit
38455a7108
1 file changed
+3
@@ -98,6 +98,9 @@ const defineDynamicBlock = (ScratchBlocks, categoryInfo, staticBlockInfo, extend
|
||||
case BlockType.REPORTER:
|
||||
this.setOutput('String'); // TODO: distinguish number & string here?
|
||||
this.setOutputShape(ScratchBlocks.OUTPUT_SHAPE_ROUND);
|
||||
if (!blockInfo.disableMonitor) {
|
||||
this.setCheckboxInFlyout(true);
|
||||
}
|
||||
break;
|
||||
case BlockType.BOOLEAN:
|
||||
this.setOutput('Boolean');
|
||||
|
||||
Reference in new issue
Block a user