Skip to content

Commit 4c48588

Browse files
committed
Fix HasShadow not being true by default
1 parent 2010461 commit 4c48588

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ElectronNET.API/API/Entities/BrowserWindowOptions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ public class BrowserWindowOptions
215215
/// <summary>
216216
/// Whether window should have a shadow. Default is true.
217217
/// </summary>
218-
public bool HasShadow { get; set; }
218+
[DefaultValue(true)]
219+
public bool HasShadow { get; set; } = true;
219220

220221
/// <summary>
221222
/// Forces using dark theme for the window, only works on some GTK+3 desktop environments. Default is false.

0 commit comments

Comments
 (0)