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 {
206206}
207207
208208/**
209- * A position represented in logical pixels.
209+ * A position represented in logical pixels.
210210 * For an explanation of what logical pixels are, see description of {@linkcode LogicalSize}.
211211 *
212212 * @since 2.0.0
@@ -272,7 +272,7 @@ class LogicalPosition {
272272}
273273
274274/**
275- * A position represented in physical pixels.
275+ * A position represented in physical pixels.
276276 *
277277 * For an explanation of what physical pixels are, see description of {@linkcode PhysicalSize}.
278278 *
Original file line number Diff line number Diff line change @@ -2325,6 +2325,14 @@ interface WindowOptions {
23252325 * The style of the macOS title bar.
23262326 */
23272327 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
23282336 /**
23292337 * If `true`, sets the window title to be hidden on macOS.
23302338 */
You can’t perform that action at this time.
0 commit comments