mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	fix(next): window border cut-off on macOS
This commit is contained in:
		| @@ -5,7 +5,7 @@ import attributeService from "../services/attributes.js"; | ||||
| import config from "../services/config.js"; | ||||
| import optionService from "../services/options.js"; | ||||
| import log from "../services/log.js"; | ||||
| import { isDev, isElectron } from "../services/utils.js"; | ||||
| import { isDev, isElectron, isWindows } from "../services/utils.js"; | ||||
| import protectedSessionService from "../services/protected_session.js"; | ||||
| import packageJson from "../../package.json" with { type: "json" }; | ||||
| import assetPath from "../services/asset_path.js"; | ||||
| @@ -42,7 +42,7 @@ function index(req: Request, res: Response) { | ||||
|         platform: process.platform, | ||||
|         isElectron, | ||||
|         hasNativeTitleBar: isElectron && options.nativeTitleBarVisible === "true", | ||||
|         hasBackgroundEffects: isElectron && options.backgroundEffects === "true", | ||||
|         hasBackgroundEffects: isWindows && isElectron && options.backgroundEffects === "true", | ||||
|         mainFontSize: parseInt(options.mainFontSize), | ||||
|         treeFontSize: parseInt(options.treeFontSize), | ||||
|         detailFontSize: parseInt(options.detailFontSize), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user