File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @tauri-apps/api " : " patch:bug"
3
+ ---
4
+
5
+ Add missing ` trafficLightPosition ` TypeScript type definition
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ class Size {
206
206
}
207
207
208
208
/**
209
- * A position represented in logical pixels.
209
+ * A position represented in logical pixels.
210
210
* For an explanation of what logical pixels are, see description of {@linkcode LogicalSize}.
211
211
*
212
212
* @since 2.0.0
@@ -272,7 +272,7 @@ class LogicalPosition {
272
272
}
273
273
274
274
/**
275
- * A position represented in physical pixels.
275
+ * A position represented in physical pixels.
276
276
*
277
277
* For an explanation of what physical pixels are, see description of {@linkcode PhysicalSize}.
278
278
*
Original file line number Diff line number Diff line change @@ -2325,6 +2325,14 @@ interface WindowOptions {
2325
2325
* The style of the macOS title bar.
2326
2326
*/
2327
2327
titleBarStyle ?: TitleBarStyle
2328
+ /**
2329
+ * The position of the window controls on macOS.
2330
+ *
2331
+ * Requires `titleBarStyle: 'overlay'` and `decorations: true`.
2332
+ *
2333
+ * @since 2.4.0
2334
+ */
2335
+ trafficLightPosition ?: LogicalPosition
2328
2336
/**
2329
2337
* If `true`, sets the window title to be hidden on macOS.
2330
2338
*/
You can’t perform that action at this time.
0 commit comments