소스 검색

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

Lucas Fernandes Nogueira 4 년 전
부모
커밋
08c1c5ca5c
2개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  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. */