Przeglądaj źródła

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

Lucas Fernandes Nogueira 4 lat temu
rodzic
commit
08c1c5ca5c
2 zmienionych plików z 7 dodań i 0 usunięć
  1. 5 0
      .changes/api-transparent-window.md
  2. 2 0
      tooling/api/src/window.ts

+ 5 - 0
.changes/api-transparent-window.md

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

+ 2 - 0
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. */