diff --git a/blocks_vertical/looks.js b/blocks_vertical/looks.js index 796f83898d..e46055f563 100644 --- a/blocks_vertical/looks.js +++ b/blocks_vertical/looks.js @@ -357,6 +357,7 @@ Blockly.Blocks['looks_tintColor'] = { this.jsonInit({ "message0": "tint color", "category": Blockly.Categories.looks, + "checkboxInFlyout": true, "extensions": ["colours_looks", "output_string"] }); } @@ -784,6 +785,7 @@ Blockly.Blocks["looks_layersGetLayer"] = { "inputsInline": true, "category": "looks", "message0": "layer", + "checkboxInFlyout": true, "extensions": [ "output_number", "colours_looks" @@ -918,6 +920,7 @@ Blockly.Blocks["looks_stretchGetX"] = { init: function() { this.jsonInit({ "inputsInline": true, + "checkboxInFlyout": true, "category": "looks", "message0": "x stretch", "extensions": [ @@ -932,6 +935,7 @@ Blockly.Blocks["looks_stretchGetY"] = { init: function() { this.jsonInit({ "inputsInline": true, + "checkboxInFlyout": true, "category": "looks", "message0": "y stretch", "extensions": [ @@ -948,6 +952,7 @@ Blockly.Blocks["looks_getSpriteVisible"] = { "inputsInline": true, "category": "looks", "message0": "visible?", + "checkboxInFlyout": true, "extensions": [ "output_boolean", "colours_looks" @@ -1004,6 +1009,7 @@ Blockly.Blocks["looks_getEffectValue"] = { "inputsInline": true, "category": "looks", "message0": "%1 effect", + "checkboxInFlyout": true, "args0": [ { "type": "field_dropdown", @@ -1038,6 +1044,7 @@ Blockly.Blocks["looks_sayHeight"] = { "inputsInline": true, "category": "looks", "message0": "bubble height", + "checkboxInFlyout": true, "extensions": [ "output_string", "colours_looks" @@ -1052,6 +1059,7 @@ Blockly.Blocks["looks_sayWidth"] = { "inputsInline": true, "category": "looks", "message0": "bubble width", + "checkboxInFlyout": true, "extensions": [ "output_string", "colours_looks" diff --git a/blocks_vertical/sensing.js b/blocks_vertical/sensing.js index 958c091eb9..cb2ed88d19 100644 --- a/blocks_vertical/sensing.js +++ b/blocks_vertical/sensing.js @@ -443,6 +443,7 @@ Blockly.Blocks['sensing_mousedown'] = { this.jsonInit({ "message0": Blockly.Msg.SENSING_MOUSEDOWN, "category": Blockly.Categories.sensing, + "checkboxInFlyout": true, "extensions": ["colours_sensing", "output_boolean"] }); } @@ -457,6 +458,7 @@ Blockly.Blocks['sensing_mouseclicked'] = { this.jsonInit({ "message0": "mouse clicked?", "category": Blockly.Categories.sensing, + "checkboxInFlyout": true, "extensions": ["colours_sensing", "output_boolean"] }); } @@ -511,6 +513,7 @@ Blockly.Blocks['sensing_mousex'] = { this.jsonInit({ "message0": Blockly.Msg.SENSING_MOUSEX, "category": Blockly.Categories.sensing, + "checkboxInFlyout": true, "extensions": ["colours_sensing", "output_number"] }); } @@ -525,6 +528,7 @@ Blockly.Blocks['sensing_mousey'] = { this.jsonInit({ "message0": Blockly.Msg.SENSING_MOUSEY, "category": Blockly.Categories.sensing, + "checkboxInFlyout": true, "extensions": ["colours_sensing", "output_number"] }); } @@ -599,6 +603,7 @@ Blockly.Blocks['sensing_getclipboard'] = { this.jsonInit({ "message0": Blockly.Msg.SENSING_CLIPBOARDITEM, "category": Blockly.Categories.sensing, + "checkboxInFlyout": true, "extensions": ["colours_sensing", "output_string"] }); } @@ -668,6 +673,7 @@ Blockly.Blocks['sensing_loud'] = { this.jsonInit({ "message0": Blockly.Msg.SENSING_LOUD, "category": Blockly.Categories.sensing, + "checkboxInFlyout": true, "extensions": ["colours_sensing", "output_boolean"] }); } @@ -804,6 +810,7 @@ Blockly.Blocks['sensing_dayssince2000'] = { this.jsonInit({ "message0": Blockly.Msg.SENSING_DAYSSINCE2000, "category": Blockly.Categories.sensing, + "checkboxInFlyout": true, "extensions": ["colours_sensing", "output_number"] }); } @@ -826,13 +833,14 @@ Blockly.Blocks['sensing_username'] = { Blockly.Blocks['sensing_loggedin'] = { /** - * Block to report user's username + * pm: Block to report if a user is logged in. * @this Blockly.Block */ init: function () { this.jsonInit({ "message0": 'logged in?', "category": Blockly.Categories.sensing, + "checkboxInFlyout": true, "extensions": ["colours_sensing", "output_boolean"] }); } diff --git a/blocks_vertical/sound.js b/blocks_vertical/sound.js index eeeeacd01a..4142193f75 100644 --- a/blocks_vertical/sound.js +++ b/blocks_vertical/sound.js @@ -341,6 +341,7 @@ Blockly.Blocks['sound_getEffectValue'] = { this.jsonInit({ "inputsInline": true, "message0": "%1 effect", + "checkboxInFlyout": true, "category": Blockly.Categories.sound, "args0": [ {