mirror of
https://github.com/google/blockly.git
synced 2026-01-10 18:37:09 +01:00
Add a getTargetWorkspace method to flyout_base.ts (#7519)
This commit is contained in:
@@ -480,6 +480,15 @@ export abstract class Flyout extends DeleteArea implements IFlyout {
|
||||
return this.workspace_;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the target workspace inside the flyout.
|
||||
*
|
||||
* @returns The target workspace inside the flyout.
|
||||
*/
|
||||
getTargetWorkspace(): WorkspaceSvg {
|
||||
return this.targetWorkspace;
|
||||
}
|
||||
|
||||
/**
|
||||
* Is the flyout visible?
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user