feat(server): set up option to toggle background effects

This commit is contained in:
Elian Doran
2024-12-09 21:57:54 +02:00
parent f4efefe480
commit c39e8be29a
3 changed files with 3 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ function index(req: Request, res: Response) {
platform: process.platform,
isElectron,
hasNativeTitleBar: (isElectron && options.nativeTitleBarVisible === "true"),
hasBackgroundEffects: (isElectron && true),
hasBackgroundEffects: (isElectron && options.backgroundEffects === "true"),
mainFontSize: parseInt(options.mainFontSize),
treeFontSize: parseInt(options.treeFontSize),
detailFontSize: parseInt(options.detailFontSize),