From 4c48588ce2814b5b54dd11f29b84ccac0717b764 Mon Sep 17 00:00:00 2001 From: Aeon Date: Wed, 25 Mar 2026 02:37:20 +0100 Subject: [PATCH] Fix HasShadow not being true by default --- src/ElectronNET.API/API/Entities/BrowserWindowOptions.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ElectronNET.API/API/Entities/BrowserWindowOptions.cs b/src/ElectronNET.API/API/Entities/BrowserWindowOptions.cs index fc44edf7..c87d8abd 100644 --- a/src/ElectronNET.API/API/Entities/BrowserWindowOptions.cs +++ b/src/ElectronNET.API/API/Entities/BrowserWindowOptions.cs @@ -215,7 +215,8 @@ public class BrowserWindowOptions /// /// Whether window should have a shadow. Default is true. /// - public bool HasShadow { get; set; } + [DefaultValue(true)] + public bool HasShadow { get; set; } = true; /// /// Forces using dark theme for the window, only works on some GTK+3 desktop environments. Default is false.