@@ -77,7 +77,6 @@ Blockly.Blocks.math_limit = {
77
77
. appendField ( "and" ) ;
78
78
79
79
this . setInputsInline ( true ) ;
80
- this . setTooltip ( "limit" ) ;
81
80
this . setOutput ( true , 'Number' ) ;
82
81
this . setPreviousStatement ( false , null ) ;
83
82
this . setNextStatement ( false , null ) ;
@@ -110,16 +109,13 @@ Blockly.propc.math_limit.OPERATORS = {
110
109
111
110
// Increment/decrement
112
111
Blockly . Blocks . math_crement = {
113
- // Rounding functions.
114
112
helpUrl : Blockly . MSG_NUMBERS_HELPURL ,
115
113
init : function ( ) {
116
114
this . setTooltip ( Blockly . MSG_MATH_CREMENT_TOOLTIP ) ;
117
115
this . setColour ( colorPalette . getColor ( 'math' ) ) ;
118
116
this . appendValueInput ( 'VAR' )
119
117
. setCheck ( 'Number' )
120
118
. appendField ( new Blockly . FieldDropdown ( this . OPERATORS ) , 'OP' ) ;
121
-
122
- this . setTooltip ( "" ) ;
123
119
this . setPreviousStatement ( true ) ;
124
120
this . setNextStatement ( true ) ;
125
121
}
@@ -182,7 +178,12 @@ Blockly.Blocks.math_bitwise = {
182
178
this . setColour ( colorPalette . getColor ( 'math' ) ) ;
183
179
this . appendValueInput ( 'VAL1' ) ;
184
180
this . appendDummyInput ( )
185
- . appendField ( new Blockly . FieldDropdown ( [ [ "& (bitwise AND)" , "&" ] , [ "| (bitwise OR)" , "|" ] , [ "^ (bitwise XOR)" , "^" ] , [ ">> (bitwise right shift)" , ">>" ] , [ "<< (bitwise left shift)" , "<<" ] ] ) , "OPERATION" ) ;
181
+ . appendField ( new Blockly . FieldDropdown ( [
182
+ [ "& (bitwise AND)" , "&" ] ,
183
+ [ "| (bitwise OR)" , "|" ] ,
184
+ [ "^ (bitwise XOR)" , "^" ] ,
185
+ [ ">> (bitwise right shift)" , ">>" ] ,
186
+ [ "<< (bitwise left shift)" , "<<" ] ] ) , "OPERATION" ) ;
186
187
this . appendValueInput ( 'VAL2' ) ;
187
188
188
189
this . setOutput ( true , 'Number' ) ;
0 commit comments