docs: style fixes (#45458)

* docs: fix code field

* docs: add missing space
This commit is contained in:
max54nj 2025-02-05 21:10:07 +01:00 committed by GitHub
parent 471b1a873d
commit c0282eb9c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -149,7 +149,7 @@ Possible values are:
focus, keyboard or mouse events, but you can use `globalShortcut` to receive focus, keyboard or mouse events, but you can use `globalShortcut` to receive
input sparingly. input sparingly.
* The `panel` type enables the window to float on top of full-screened apps * 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 reserved for NSPanel, at runtime. Also, the window will appear on all
spaces (desktops). spaces (desktops).
* On Windows, possible type is `toolbar`. * On Windows, possible type is `toolbar`.

View file

@ -5,7 +5,7 @@
* `colorDepth` number - The number of bits per pixel. * `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. * `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. * `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. * `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. * `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. * `internal` boolean - `true` for an internal display and `false` for an external display.