mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-07-09 02:07:47 +00:00
Add new WCO height option
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user