Add new WCO height option

This commit is contained in:
rafael-aero
2022-02-10 23:00:33 +01:00
parent 56fe57db46
commit 26ba398428
3 changed files with 5 additions and 5 deletions

View File

@@ -531,10 +531,8 @@ namespace ElectronNET.API
/// <summary>
/// Emitted when a MacOS user wants to open a URL with the application. Your application's Info.plist file must
/// define the URL scheme within the CFBundleURLTypes key, and set NSPrincipalClass to AtomApplication.
/// Emitted when a user wants to open a URL with the application. See https://www.electronjs.org/docs/latest/tutorial/launch-app-from-url-in-another-app for more information.
/// </summary>
[SupportedOSPlatform("macos")]
public event Action<string> OpenUrl
{
add

View File

@@ -226,6 +226,7 @@ namespace ElectronNET.API.Entities
/// Activate the Window Controls Overlay on Windows, when combined with <see cref="TitleBarStyle"/> = <see cref="TitleBarStyle.hidden"/>
/// </summary>
[SupportedOSPlatform("win")]
[SupportedOSPlatform("macos")]
[DefaultValue(null)]
public TitleBarOverlayConfig TitleBarOverlay { get; set; }

View File

@@ -31,7 +31,8 @@ namespace ElectronNET.API.Entities
public class TitleBarOverlayConfig
{
public string Color { get; set; }
public string SymbolColor { get; set; }
public string color { get; set; }
public string symbolColor { get; set; }
public int height { get; set; }
}
}