Skip to content
Snippets Groups Projects
Commit 0f57aea8 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Use comments flag to disable comments in scratch-blocks

parent b2b32a78
No related branches found
No related tags found
No related merge requests found
......@@ -225,7 +225,8 @@ Blocks.propTypes = {
insertionMarkerOpacity: PropTypes.number,
fieldShadow: PropTypes.string,
dragShadowOpacity: PropTypes.number
})
}),
comments: PropTypes.bool
}),
vm: PropTypes.instanceOf(VM).isRequired
};
......@@ -252,7 +253,8 @@ Blocks.defaultOptions = {
insertionMarkerOpacity: 0.2,
fieldShadow: 'rgba(255, 255, 255, 0.3)',
dragShadowOpacity: 0.6
}
},
comments: false
};
Blocks.defaultProps = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment