Skip to content

Commit 005fedd

Browse files
authored
Merge pull request #1049 from AeonSake/1048-hasshadow-true-by-default
Fix `HasShadow` Not Being `true` by Default
2 parents ce271fd + 4c48588 commit 005fedd

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)