File tree 1 file changed +0
-19
lines changed
1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -557,25 +557,6 @@ Blockly.VerticalFlyout.prototype.checkboxClicked_ = function(checkboxObj) {
557
557
} ;
558
558
} ;
559
559
560
- /**
561
- * Explicitly set the clicked state of the checkbox for the given block.
562
- * @param {string } blockId ID of block whose checkbox should be changed.
563
- * @param {boolean } clicked True if the box should be marked clicked.
564
- */
565
- Blockly . VerticalFlyout . prototype . setCheckboxState = function ( blockId , clicked ) {
566
- var block = this . workspace_ . getBlockById ( blockId ) ;
567
- if ( ! block ) {
568
- throw 'No block found in the flyout for id ' + blockId ;
569
- }
570
- var checkboxObj = block . flyoutCheckbox ;
571
- checkboxObj . clicked = clicked ;
572
- if ( checkboxObj . clicked ) {
573
- Blockly . addClass_ ( ( checkboxObj . svgRoot ) , 'checked' ) ;
574
- } else {
575
- Blockly . removeClass_ ( ( checkboxObj . svgRoot ) , 'checked' ) ;
576
- }
577
- } ;
578
-
579
560
/**
580
561
* Handle a mouse-move to vertically drag the flyout.
581
562
* @param {!Event } e Mouse move event.
You can’t perform that action at this time.
0 commit comments