BrowserWindowOptions; Fix default for FullScreenable

Electron's default is true
This commit is contained in:
softworkz
2025-11-20 02:54:10 +01:00
parent aa483ebaa4
commit 1815951092

View File

@@ -115,10 +115,11 @@ namespace ElectronNET.API.Entities
/// <summary>
/// Whether the window can be put into fullscreen mode. On macOS, also whether the
/// maximize/zoom button should toggle full screen mode or maximize window.Default
/// is true.
/// maximize/zoom button should toggle full screen mode or maximize window. Default
/// is true (Electron default).
/// </summary>
public bool Fullscreenable { get; set; }
[DefaultValue(true)]
public bool Fullscreenable { get; set; } = true; // FIX: previously defaulted to false in C#
/// <summary>
/// Whether to show the window in taskbar. Default is false.