mirror of
https://github.com/google/blockly.git
synced 2026-01-11 19:07:08 +01:00
chore: make getWorkspace public (#7195)
This commit is contained in:
@@ -313,7 +313,10 @@ export class MutatorIcon extends Icon implements IHasBubble {
|
||||
eventUtils.setGroup(existingGroup);
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
/**
|
||||
* @returns The workspace of the mini workspace bubble, if the bubble is
|
||||
* currently open.
|
||||
*/
|
||||
getWorkspace(): WorkspaceSvg | undefined {
|
||||
return this.miniWorkspaceBubble?.getWorkspace();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user