Skip to content

Commit

Permalink
Fix ScreenCaptureManager using wrong color space
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbaird committed Feb 17, 2024
1 parent b5b20a5 commit e31c06d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Ice/Utilities/ScreenCaptureManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ class ScreenCaptureManager: ObservableObject {
configuration.width = Int(sourceRect.width * scale)
configuration.height = Int(sourceRect.height * scale)
configuration.captureResolution = resolution
configuration.colorSpaceName = CGColorSpace.displayP3
configuration.ignoreShadowsSingleWindow = options.contains(.ignoreFraming)
configuration.capturesShadowsOnly = options.contains(.onlyShadows)
configuration.shouldBeOpaque = options.contains(.shouldBeOpaque)
Expand Down

0 comments on commit e31c06d

Please sign in to comment.