Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sbatten committed Jan 28, 2022
1 parent c68d433 commit 579c116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/browser/parts/editor/editorPart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ export class EditorPart extends Part implements IEditorGroupsService, IEditorGro
get minimumHeight(): number { return Math.min(this.centeredLayoutWidget.minimumHeight, this.layoutService.getMaximumEditorDimensions().height); }
get maximumHeight(): number { return this.centeredLayoutWidget.maximumHeight; }

readonly snap = true;
get snap(): boolean { return this.layoutService.getPanelAlignment() === 'center'; }

override get onDidChange(): Event<IViewSize | undefined> { return Event.any(this.centeredLayoutWidget.onDidChange, this.onDidSetGridWidget.event); }
readonly priority: LayoutPriority = LayoutPriority.High;
Expand Down

0 comments on commit 579c116

Please sign in to comment.