chore: comments

This commit is contained in:
mathuo 2024-12-21 14:00:57 +00:00
parent 0d32d285d2
commit c216d70354
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281

View File

@ -741,6 +741,7 @@ export class DockviewComponent
itemToPopout.api.id itemToPopout.api.id
) )
?.overlay.toJSON(); ?.overlay.toJSON();
this.removeGroup(referenceGroup); this.removeGroup(referenceGroup);
break; break;
@ -859,7 +860,9 @@ export class DockviewComponent
this.overlayRenderContainer; this.overlayRenderContainer;
removedGroup.model.location = { type: 'grid' }; removedGroup.model.location = { type: 'grid' };
returnedGroup = removedGroup; returnedGroup = removedGroup;
this.movingLock(() => { this.movingLock(() => {
// suppress group add events since the group already exists
this.doAddGroup(removedGroup, [0]); this.doAddGroup(removedGroup, [0]);
}); });
} }