mirror of
https://github.com/google/blockly.git
synced 2026-01-09 18:10:08 +01:00
Merge pull request #51 from TechplexEngineer/patch-1
Make the "seats =" block not deletable.
This commit is contained in:
@@ -31,6 +31,7 @@ Blockly.Blocks['plane_set_seats'] = {
|
||||
this.appendValueInput('VALUE')
|
||||
.appendField(Plane.getMsg('Plane_setSeats'));
|
||||
this.setTooltip(Blockly.Msg.VARIABLES_SET_TOOLTIP);
|
||||
this.setDeletable(false);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user