Skip to content

Commit 26e0728

Browse files
authored
Blocks/control.js -- remove default flyout branch. Should be determined by xml mutation
1 parent 0647f97 commit 26e0728

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

blocks_vertical/control.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,7 @@ Blockly.Blocks['control_expandableIf'] = {
237237
"extensions": ["colours_control", "shape_statement"]
238238
});
239239

240-
this.branches_ = 1;
241-
if (this.isInFlyout) this.addCase(true);
240+
this.branches_ = 0;
242241
this.nextIsElse = true;
243242
this.endsInElse = false;
244243
},

0 commit comments

Comments
 (0)