From 801616cd532c40b6b60663352dca9c88d116d27b Mon Sep 17 00:00:00 2001 From: theolivenbaum Date: Mon, 6 Sep 2021 15:54:32 +0200 Subject: [PATCH] Let users set the color of the titlebar instead of just enabling it --- ElectronNET.API/Entities/BrowserWindowOptions.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ElectronNET.API/Entities/BrowserWindowOptions.cs b/ElectronNET.API/Entities/BrowserWindowOptions.cs index 8918192..863b133 100644 --- a/ElectronNET.API/Entities/BrowserWindowOptions.cs +++ b/ElectronNET.API/Entities/BrowserWindowOptions.cs @@ -226,7 +226,8 @@ namespace ElectronNET.API.Entities /// Activate the Window Controls Overlay on Windows, when combined with = /// [SupportedOSPlatform("win")] - public bool TitleBarOverlay { get; set; } + [DefaultValue(null)] + public TitleBarOverlayConfig TitleBarOverlay { get; set; } /// /// Use WS_THICKFRAME style for frameless windows on Windows, which adds standard