@@ -77,7 +77,6 @@ Blockly.Blocks.math_limit = {
7777 . appendField ( "and" ) ;
7878
7979 this . setInputsInline ( true ) ;
80- this . setTooltip ( "limit" ) ;
8180 this . setOutput ( true , 'Number' ) ;
8281 this . setPreviousStatement ( false , null ) ;
8382 this . setNextStatement ( false , null ) ;
@@ -110,16 +109,13 @@ Blockly.propc.math_limit.OPERATORS = {
110109
111110// Increment/decrement
112111Blockly . Blocks . math_crement = {
113- // Rounding functions.
114112 helpUrl : Blockly . MSG_NUMBERS_HELPURL ,
115113 init : function ( ) {
116114 this . setTooltip ( Blockly . MSG_MATH_CREMENT_TOOLTIP ) ;
117115 this . setColour ( colorPalette . getColor ( 'math' ) ) ;
118116 this . appendValueInput ( 'VAR' )
119117 . setCheck ( 'Number' )
120118 . appendField ( new Blockly . FieldDropdown ( this . OPERATORS ) , 'OP' ) ;
121-
122- this . setTooltip ( "" ) ;
123119 this . setPreviousStatement ( true ) ;
124120 this . setNextStatement ( true ) ;
125121 }
@@ -182,7 +178,12 @@ Blockly.Blocks.math_bitwise = {
182178 this . setColour ( colorPalette . getColor ( 'math' ) ) ;
183179 this . appendValueInput ( 'VAL1' ) ;
184180 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" ) ;
186187 this . appendValueInput ( 'VAL2' ) ;
187188
188189 this . setOutput ( true , 'Number' ) ;
0 commit comments