diff --git a/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.ts b/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.ts index 2a65960d983..96820f1eafd 100644 --- a/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.ts +++ b/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.ts @@ -370,7 +370,7 @@ export abstract class ZoneWidget implements IHorizontalSashLayoutProvider { } if (this.options.showFrame) { - const frameThickness = Math.round(lineHeight / 9); + const frameThickness = this.options.frameWidth ?? Math.round(lineHeight / 9); result += 2 * frameThickness; }