mirror of
https://github.com/google/blockly.git
synced 2026-01-10 02:17:09 +01:00
Note behavior of centerOnBlock when block is part of a stack in the JSDoc (#5442)
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user