mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
Feat: Added an API to programmatically scroll the workspace (#7532)
* Feat: Added an API to programmatically scroll the workspace Feat: Added an API to programmatically scroll the workspace * Feat: Added an API to programmatically scroll the workspace
This commit is contained in:
@@ -2191,7 +2191,6 @@ export class WorkspaceSvg extends Workspace implements IASTNodeLocationSvg {
|
||||
*
|
||||
* @param x Target X to scroll to.
|
||||
* @param y Target Y to scroll to.
|
||||
* @internal
|
||||
*/
|
||||
scroll(x: number, y: number) {
|
||||
this.hideChaff(/* opt_onlyClosePopups= */ true);
|
||||
|
||||
Reference in New Issue
Block a user