From c0282eb9c8a29130b64e045e097029049505e577 Mon Sep 17 00:00:00 2001 From: max54nj Date: Wed, 5 Feb 2025 21:10:07 +0100 Subject: [PATCH] docs: style fixes (#45458) * docs: fix code field * docs: add missing space --- docs/api/structures/base-window-options.md | 2 +- docs/api/structures/display.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/structures/base-window-options.md b/docs/api/structures/base-window-options.md index 771445be06e..dacb75f106b 100644 --- a/docs/api/structures/base-window-options.md +++ b/docs/api/structures/base-window-options.md @@ -149,7 +149,7 @@ Possible values are: focus, keyboard or mouse events, but you can use `globalShortcut` to receive input sparingly. * The `panel` type enables the window to float on top of full-screened apps - by adding the `NSWindowStyleMaskNonactivatingPanel` style mask,normally + by adding the `NSWindowStyleMaskNonactivatingPanel` style mask, normally reserved for NSPanel, at runtime. Also, the window will appear on all spaces (desktops). * On Windows, possible type is `toolbar`. diff --git a/docs/api/structures/display.md b/docs/api/structures/display.md index f58e22acb70..e5dd940e366 100644 --- a/docs/api/structures/display.md +++ b/docs/api/structures/display.md @@ -5,7 +5,7 @@ * `colorDepth` number - The number of bits per pixel. * `colorSpace` string - represent a color space (three-dimensional object which contains all realizable color combinations) for the purpose of color conversions. * `depthPerComponent` number - The number of bits per color component. -* `detected` boolean - `true`` if the display is detected by the system. +* `detected` boolean - `true` if the display is detected by the system. * `displayFrequency` number - The display refresh rate. * `id` number - Unique identifier associated with the display. A value of of -1 means the display is invalid or the correct `id` is not yet known, and a value of -10 means the display is a virtual display assigned to a unified desktop. * `internal` boolean - `true` for an internal display and `false` for an external display.