From 600c6b83441084c6403951bca0a56dfbf0c1dcf1 Mon Sep 17 00:00:00 2001 From: Pantazis Vouzaxakis Date: Fri, 9 Aug 2024 22:22:13 +0200 Subject: [PATCH] Adjust contentBounds description on readme and doc --- index.d.ts | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 78338d0..3ceebd6 100644 --- a/index.d.ts +++ b/index.d.ts @@ -97,7 +97,7 @@ export type WindowsResult = { platform: 'windows'; /** - Content position and size without Nonclient Area + Window content position and size, which excludes the title bar, menu bar, and frame. */ contentBounds: { x: number; diff --git a/readme.md b/readme.md index c8c2a8e..d67c774 100644 --- a/readme.md +++ b/readme.md @@ -80,7 +80,7 @@ Returns a `Promise` with the result, or `Promise` if there is - `y` *(number)* - `width` *(number)* - `height` *(number)* -- `contentBounds` *(Object)* - Client position and size without Nonclient Area *(Windows only)* +- `contentBounds` *(Object)* - Window content position and size, which excludes the title bar, menu bar, and frame *(Windows only)* - `x` *(number)* - `y` *(number)* - `width` *(number)*