Merge pull request #1049 from AeonSake/1048-hasshadow-true-by-default

Fix `HasShadow` Not Being `true` by Default
This commit is contained in:
Florian Rappl
2026-03-25 23:31:08 +01:00
committed by GitHub

View File

@@ -215,7 +215,8 @@ namespace ElectronNET.API.Entities
/// <summary>
/// Whether window should have a shadow. Default is true.
/// </summary>
public bool HasShadow { get; set; }
[DefaultValue(true)]
public bool HasShadow { get; set; } = true;
/// <summary>
/// Forces using dark theme for the window, only works on some GTK+3 desktop environments. Default is false.