File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,8 @@ Blockly.Blocks["data_setvariableto"] = {
62
62
{
63
63
type : "field_variable" ,
64
64
name : "VARIABLE" ,
65
+ variableTypes : [ Constants . SCALAR_VARIABLE_TYPE ] ,
66
+ defaultType : Constants . SCALAR_VARIABLE_TYPE ,
65
67
} ,
66
68
{
67
69
type : "input_value" ,
@@ -86,6 +88,8 @@ Blockly.Blocks["data_changevariableby"] = {
86
88
{
87
89
type : "field_variable" ,
88
90
name : "VARIABLE" ,
91
+ variableTypes : [ Constants . SCALAR_VARIABLE_TYPE ] ,
92
+ defaultType : Constants . SCALAR_VARIABLE_TYPE ,
89
93
} ,
90
94
{
91
95
type : "input_value" ,
@@ -110,6 +114,8 @@ Blockly.Blocks["data_showvariable"] = {
110
114
{
111
115
type : "field_variable" ,
112
116
name : "VARIABLE" ,
117
+ variableTypes : [ Constants . SCALAR_VARIABLE_TYPE ] ,
118
+ defaultType : Constants . SCALAR_VARIABLE_TYPE ,
113
119
} ,
114
120
] ,
115
121
previousStatement : null ,
@@ -132,6 +138,8 @@ Blockly.Blocks["data_hidevariable"] = {
132
138
{
133
139
type : "field_variable" ,
134
140
name : "VARIABLE" ,
141
+ variableTypes : [ Constants . SCALAR_VARIABLE_TYPE ] ,
142
+ defaultType : Constants . SCALAR_VARIABLE_TYPE ,
135
143
} ,
136
144
] ,
137
145
previousStatement : null ,
You can’t perform that action at this time.
0 commit comments