From 08c1c5ca5c0ebe17ea98689a5fe3b7e47a98e955 Mon Sep 17 00:00:00 2001 From: Lucas Fernandes Nogueira Date: Mon, 10 May 2021 00:30:01 -0300 Subject: [PATCH] fix(api): missing `transparent` flag on `WindowOptions` (#1764) --- .changes/api-transparent-window.md | 5 +++++ tooling/api/src/window.ts | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changes/api-transparent-window.md diff --git a/.changes/api-transparent-window.md b/.changes/api-transparent-window.md new file mode 100644 index 00000000000..496af1ca0c5 --- /dev/null +++ b/.changes/api-transparent-window.md @@ -0,0 +1,5 @@ +--- +"api": patch +--- + +Adds `transparent?: boolean` to the `WindowOptions` interface. diff --git a/tooling/api/src/window.ts b/tooling/api/src/window.ts index d5273bd90cf..14a1506ec8a 100644 --- a/tooling/api/src/window.ts +++ b/tooling/api/src/window.ts @@ -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. */