Skip to content

Commit 089614a

Browse files
authored
Merge pull request #39 from wenxichang/master
hide the cursor
2 parents a3924b7 + 34bcf3e commit 089614a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

darwin.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ static CGImageRef capture(CGDirectDisplayID id, CGRect diIntersectDisplayLocal,
3838
config.sourceRect = diIntersectDisplayLocal;
3939
config.width = diIntersectDisplayLocal.size.width;
4040
config.height = diIntersectDisplayLocal.size.height;
41+
config.showsCursor = NO;
4142
[SCScreenshotManager captureImageWithFilter:filter
4243
configuration:config
4344
completionHandler:^(CGImageRef img, NSError* error) {

0 commit comments

Comments
 (0)