panel: move sash 2px lower

fixes #5524
This commit is contained in:
isidor
2016-05-02 16:18:03 +02:00
parent b24be3a8ce
commit f2dbc16bd5

View File

@@ -113,7 +113,7 @@ export class WorkbenchLayout implements IVerticalSashLayoutProvider, IHorizontal
baseSize: 5
});
this.sashY = new Sash(this.workbenchContainer.getHTMLElement(), this, {
baseSize: 5,
baseSize: 4,
orientation: Orientation.HORIZONTAL
});
@@ -495,7 +495,8 @@ export class WorkbenchLayout implements IVerticalSashLayoutProvider, IHorizontal
}
public getHorizontalSashTop(sash: Sash): number {
return this.partService.isPanelHidden() ? this.sidebarHeight : this.sidebarHeight - this.panelHeight;
// Horizontal sash should be a bit lower than the editor area, thus add 2px #5524
return 2 + (this.partService.isPanelHidden() ? this.sidebarHeight : this.sidebarHeight - this.panelHeight);
}
public getHorizontalSashLeft(sash: Sash): number {