fix(api): missing transparent flag on WindowOptions (#1764)

This commit is contained in:
Lucas Fernandes Nogueira 2021-05-10 00:30:01 -03:00 committed by GitHub
parent 5edda4ba08
commit 08c1c5ca5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
"api": patch
---
Adds `transparent?: boolean` to the `WindowOptions` interface.

View File

@ -687,6 +687,8 @@ export interface WindowOptions {
title?: string
/** Whether the window is in fullscreen mode or not. */
fullscreen?: boolean
/** Whether the window is transparent or not. */
transparent?: boolean
/** Whether the window should be maximized upon creation or not. */
maximized?: boolean
/** Whether the window should be immediately visible upon creation or not. */