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:
Sophie Nguyen
2023-09-23 12:53:15 -04:00
committed by GitHub
parent 86bcf712dc
commit 31a323a17b

View File

@@ -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);