From 30ed19d540efe11cfd8b01971b892d6d5e874ad4 Mon Sep 17 00:00:00 2001 From: "mr. m" Date: Thu, 15 Jan 2026 02:00:46 +0100 Subject: [PATCH] fix: Fix wrong window roundness inferrence for MacOS tahoe, b=no-bug, c=common --- src/zen/common/zenThemeModifier.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zen/common/zenThemeModifier.js b/src/zen/common/zenThemeModifier.js index 5b7b1958b..7cc3eeff3 100644 --- a/src/zen/common/zenThemeModifier.js +++ b/src/zen/common/zenThemeModifier.js @@ -97,7 +97,7 @@ // otherwise, use the custom value if (borderRadius == -1) { if (AppConstants.platform == "macosx") { - const targetRadius = window.matchMedia("(-moz-mac-tahoe-theme)").matches ? 15 : 10; + const targetRadius = window.matchMedia("(-moz-mac-tahoe-theme)").matches ? 16 : 10; document.documentElement.style.setProperty("--zen-border-radius", targetRadius + "px"); } else if (AppConstants.platform == "linux") { // Linux uses GTK CSD titlebar radius, default to 8px