We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd68122 commit e13f4b7Copy full SHA for e13f4b7
lib/screen.class.ts
@@ -32,7 +32,7 @@ export class Screen {
32
/**
33
* Configure highlighting duration
34
*/
35
- highlightDuration: 500,
+ highlightDurationMs: 500,
36
37
38
* Configure opacity of highlight window
@@ -131,7 +131,7 @@ export class Screen {
131
132
public async highlight(regionToHighlight: Region | Promise<Region>): Promise<Region> {
133
const highlightRegion = await regionToHighlight;
134
- await this.vision.highlightScreenRegion(highlightRegion, this.config.highlightDuration, this.config.highlightOpacity);
+ await this.vision.highlightScreenRegion(highlightRegion, this.config.highlightDurationMs, this.config.highlightOpacity);
135
return highlightRegion;
136
}
137
0 commit comments