Closed gonfunko closed 1 month ago
This PR unblocks https://github.com/gonfunko/scratch-blocks/issues/190 by adding an API for specifying the default size of comments.
Users can now set Blockly.comments.CommentView.defaultCommentSize (a static property) to the size that newly created workspace comments should default to.
Blockly.comments.CommentView.defaultCommentSize
Enables users to customize comment sizes for their application.
The basics
The details
Resolves
This PR unblocks https://github.com/gonfunko/scratch-blocks/issues/190 by adding an API for specifying the default size of comments.
Proposed Changes
Users can now set
Blockly.comments.CommentView.defaultCommentSize
(a static property) to the size that newly created workspace comments should default to.Reason for Changes
Enables users to customize comment sizes for their application.