diff --git a/src/actions/enter.ts b/src/actions/enter.ts index 12b467a1..c205f136 100644 --- a/src/actions/enter.ts +++ b/src/actions/enter.ts @@ -93,7 +93,7 @@ export class EnterAction { if (curNode instanceof BlockSvg) { this.insertFromFlyout(targetWorkspace); } else if (curNode instanceof FlyoutButton) { - this.triggerButtonCallback(workspace); + this.triggerButtonCallback(targetWorkspace); } return true; default: