Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(desktop): background effects always on
Elian Doran94e20c44e5d9
diff --git a/apps/server/src/routes/index.ts b/apps/server/src/routes/index.tsindex 69daeb6804..430c27d0f5 100644--- a/apps/server/src/routes/index.ts+++ b/apps/server/src/routes/index.ts@@ -43,7 +43,7 @@ function index(req: Request, res: Response) {platform: process.platform,isElectron,hasNativeTitleBar: isElectron && nativeTitleBarVisible,- hasBackgroundEffects: isElectron && isWindows11 && !nativeTitleBarVisible,+ hasBackgroundEffects: isElectron && isWindows11 && !nativeTitleBarVisible && options.backgroundEffects === "true",mainFontSize: parseInt(options.mainFontSize),treeFontSize: parseInt(options.treeFontSize),detailFontSize: parseInt(options.detailFontSize),