chore: make getWorkspace public (#7195)

This commit is contained in:
Beka Westberg
2023-06-21 17:14:25 -07:00
committed by GitHub
parent b6e084257e
commit a4ba65abf7

View File

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