mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 18:25:51 +01:00
fix(mica): apply correct mica when switching layouts
This commit is contained in:
@@ -132,7 +132,7 @@ function getWindowExtraOpts() {
|
||||
}
|
||||
|
||||
// Window effects (Mica)
|
||||
// TODO: Apply only on Windows and allow the user to choose whether to activate it or not.
|
||||
// TODO: Deduplicate with src/public/app/desktop.js#initTransparencyEffects
|
||||
const isHorizontalLayout = (optionService.getOption("layoutOrientation") === "horizontal");
|
||||
extraOpts.backgroundMaterial = isHorizontalLayout ? "tabbed" : "mica";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user