Skip to content

Commit

Permalink
fix: fixed bug where broadcast messages would appear in the variable …
Browse files Browse the repository at this point in the history
…dropdown list (#124)
  • Loading branch information
gonfunko authored Aug 13, 2024
1 parent 22a6b73 commit b1e67f6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions blocks_vertical/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Blockly.Blocks["data_setvariableto"] = {
{
type: "field_variable",
name: "VARIABLE",
variableTypes: [Constants.SCALAR_VARIABLE_TYPE],
defaultType: Constants.SCALAR_VARIABLE_TYPE,
},
{
type: "input_value",
Expand All @@ -86,6 +88,8 @@ Blockly.Blocks["data_changevariableby"] = {
{
type: "field_variable",
name: "VARIABLE",
variableTypes: [Constants.SCALAR_VARIABLE_TYPE],
defaultType: Constants.SCALAR_VARIABLE_TYPE,
},
{
type: "input_value",
Expand All @@ -110,6 +114,8 @@ Blockly.Blocks["data_showvariable"] = {
{
type: "field_variable",
name: "VARIABLE",
variableTypes: [Constants.SCALAR_VARIABLE_TYPE],
defaultType: Constants.SCALAR_VARIABLE_TYPE,
},
],
previousStatement: null,
Expand All @@ -132,6 +138,8 @@ Blockly.Blocks["data_hidevariable"] = {
{
type: "field_variable",
name: "VARIABLE",
variableTypes: [Constants.SCALAR_VARIABLE_TYPE],
defaultType: Constants.SCALAR_VARIABLE_TYPE,
},
],
previousStatement: null,
Expand Down

0 comments on commit b1e67f6

Please # to comment.