We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f648b46 commit 565031aCopy full SHA for 565031a
src/actions/enter.ts
@@ -126,7 +126,10 @@ export class EnterAction {
126
*/
127
private insertFromFlyout(workspace: WorkspaceSvg) {
128
workspace.setResizesEnabled(false);
129
- Events.setGroup(true);
+ const existingGroup = Events.getGroup();
130
+ if (!existingGroup) {
131
+ Events.setGroup(true);
132
+ }
133
134
const stationaryNode = this.navigation.getStationaryNode(workspace);
135
const newBlock = this.createNewBlock(workspace);
@@ -138,7 +141,6 @@ export class EnterAction {
138
141
this.positionNewTopLevelBlock(workspace, newBlock);
139
142
}
140
143
- Events.setGroup(false);
144
workspace.setResizesEnabled(true);
145
146
this.navigation.focusWorkspace(workspace);
0 commit comments