Skip to content

Commit 7aa9d1e

Browse files
feat: Adds description to OAS spec for docs about delta_x, delta_y
1 parent 693e4f6 commit 7aa9d1e

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 103
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-95bb1cbe27cbed0339067fa133590e675b99cda4a9c04fad802a5b14563eb572.yml
3-
openapi_spec_hash: 3a24e61711eedb9ea7bb7589a7df956f
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-aa981bcc44bf8382844c53b705f75eeac53fdc7cd828a9260755c5b4537ed966.yml
3+
openapi_spec_hash: e78521a8956dc87b25c076e30600a95e
44
config_hash: cff4d43372b6fa66b64e2d4150f6aa76

src/resources/browsers/computer.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -443,12 +443,14 @@ export namespace ComputerBatchParams {
443443
y: number;
444444

445445
/**
446-
* Horizontal scroll amount. Positive scrolls right, negative scrolls left.
446+
* Horizontal scroll amount in xdotool "wheel units." Positive scrolls right,
447+
* negative scrolls left.
447448
*/
448449
delta_x?: number;
449450

450451
/**
451-
* Vertical scroll amount. Positive scrolls down, negative scrolls up.
452+
* Vertical scroll amount in xdotool "wheel units." Positive scrolls down, negative
453+
* scrolls up.
452454
*/
453455
delta_y?: number;
454456

@@ -656,12 +658,14 @@ export interface ComputerScrollParams {
656658
y: number;
657659

658660
/**
659-
* Horizontal scroll amount. Positive scrolls right, negative scrolls left.
661+
* Horizontal scroll amount in xdotool "wheel units." Positive scrolls right,
662+
* negative scrolls left.
660663
*/
661664
delta_x?: number;
662665

663666
/**
664-
* Vertical scroll amount. Positive scrolls down, negative scrolls up.
667+
* Vertical scroll amount in xdotool "wheel units." Positive scrolls down, negative
668+
* scrolls up.
665669
*/
666670
delta_y?: number;
667671

0 commit comments

Comments
 (0)