We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbc6bc8 commit bd8a052Copy full SHA for bd8a052
src/addons/addons/editor-tweaks/userscript.js
@@ -217,6 +217,11 @@ export default async function({ addon }) {
217
if (this.fieldGroup_) return;
218
Blockly.FieldExpandableAdd.superClass_.init.call(this);
219
220
+ if (expandBtnSz === 0 && this.sourceBlock_) {
221
+ const input = this.sourceBlock_.inputList.find(i => i.fieldRow.includes(this));
222
+ if (input) input.setVisible(false);
223
+ }
224
+
225
const ratio = (Blockly.BlockSvg.FIELD_HEIGHT / 32) * expandBtnSz;
226
this.size_.width = Blockly.BlockSvg.FIELD_HEIGHT * expandBtnSz;
227
this.size_.height *= expandBtnSz;
0 commit comments