Note behavior of centerOnBlock when block is part of a stack in the JSDoc (#5442)

This commit is contained in:
Aaron Dodson
2021-09-08 12:10:44 -07:00
committed by GitHub
parent 49fcbc8411
commit c008bd07e8

View File

@@ -2168,7 +2168,8 @@ Blockly.WorkspaceSvg.prototype.scrollCenter = function() {
};
/**
* Scroll the workspace to center on the given block.
* Scroll the workspace to center on the given block. If the block has other
* blocks stacked below it, the workspace will be centered on the stack.
* @param {?string} id ID of block center on.
* @public
*/