diff --git a/docs/api/screen.md b/docs/api/screen.md index cf96c456ff8f..bb3aed2c4131 100644 --- a/docs/api/screen.md +++ b/docs/api/screen.md @@ -136,7 +136,7 @@ The DPI scale is performed relative to the display containing the DIP point. ### `screen.screenToDipRect(window, rect)` _Windows_ -* `window` [BrowserWindow](browser-window.md) +* `window` [BrowserWindow](browser-window.md) | null * `rect` [Rectangle](structures/rectangle.md) Returns [`Rectangle`](structures/rectangle.md) @@ -147,7 +147,7 @@ If `window` is null, scaling will be performed to the display nearest to `rect`. ### `screen.dipToScreenRect(window, rect)` _Windows_ -* `window` [BrowserWindow](browser-window.md) +* `window` [BrowserWindow](browser-window.md) | null * `rect` [Rectangle](structures/rectangle.md) Returns [`Rectangle`](structures/rectangle.md)