From dd3e0008da078614597715279cc2aed10eb8a59e Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Fri, 25 Apr 2025 14:12:08 +0200 Subject: [PATCH] fix https://github.com/microsoft/vscode/issues/245646 (#247378) --- src/vs/editor/contrib/zoneWidget/browser/zoneWidget.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }