feat(mica): apply to vertical layout as well

This commit is contained in:
Elian Doran
2024-12-07 02:06:15 +02:00
parent 3fac2a1ef1
commit ed98d0ce49
2 changed files with 4 additions and 2 deletions

View File

@@ -133,7 +133,8 @@ function getWindowExtraOpts() {
// Window effects (Mica)
// TODO: Apply only on Windows and allow the user to choose whether to activate it or not.
extraOpts.backgroundMaterial = "tabbed";
const isHorizontalLayout = (optionService.getOption("layoutOrientation") === "horizontal");
extraOpts.backgroundMaterial = isHorizontalLayout ? "tabbed" : "mica";
return extraOpts;
}