Skip to content

Commit 1a6fa08

Browse files
authored
fix: Fix bug that prevented triggering flyout buttons. (#607)
1 parent 68c99d1 commit 1a6fa08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/actions/enter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class EnterAction {
9292
if (curNode instanceof BlockSvg) {
9393
this.insertFromFlyout(targetWorkspace);
9494
} else if (curNode instanceof FlyoutButton) {
95-
this.triggerButtonCallback(workspace);
95+
this.triggerButtonCallback(targetWorkspace);
9696
}
9797
return true;
9898
default:

0 commit comments

Comments
 (0)