-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
Expected Behavior
You see the whole block
Actual Behavior
The top half is cut off, statements offset, and bottom has no padding
Steps to Reproduce
Add my code to blocks_vertical/motion.js and and create the block
My Code
Blockly.Blocks['motion_lambda'] = {
init: function() {
this.jsonInit({
"message0": "do %1",
"message1": "and return %1",
"args0": [
{
"type": "input_statement",
"name": "FUNCTION"
}
],
"args1": [
{
"type": "input_value",
"name": "RETURN"
}
],
"inputsInline": false,
"category": Blockly.Categories.motion,
"output": "String",
"outputShape": Blockly.OUTPUT_SHAPE_SQUARE,
"colour": Blockly.Colours.motion.primary,
"colourSecondary": Blockly.Colours.motion.secondary,
"colourTertiary": Blockly.Colours.motion.tertiary
});
}
};
Screenshot
Operating System and Browser
Google Chrome and Windows 10