Add API to get top bar height on macOS
This commit is contained in:
parent
a6e11d3b63
commit
b2f1cdfbae
5 changed files with 28 additions and 1 deletions
|
@ -95,6 +95,12 @@ Returns [`Point`](structures/point.md)
|
|||
|
||||
The current absolute position of the mouse pointer.
|
||||
|
||||
### `screen.getMenuBarHeight()`
|
||||
|
||||
Returns [`Integer`] - Height
|
||||
|
||||
The height of toolbar in pixels.
|
||||
|
||||
### `screen.getPrimaryDisplay()`
|
||||
|
||||
Returns [`Display`](structures/display.md) - The primary display.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue