remove check for windows < 120x120
This commit is contained in:
parent
3b043f4da9
commit
df2a8d9901
@ -65,7 +65,7 @@ class ScreenCaptureService: ObservableObject {
|
|||||||
func isEligible(_ candidate: WindowCandidate) -> Bool {
|
func isEligible(_ candidate: WindowCandidate) -> Bool {
|
||||||
guard candidate.layer == 0 else { return false }
|
guard candidate.layer == 0 else { return false }
|
||||||
guard candidate.ownerPID != currentPID else { return false }
|
guard candidate.ownerPID != currentPID else { return false }
|
||||||
return candidate.bounds.width >= 120 && candidate.bounds.height >= 120
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
if let frontmostPID = frontmostPID,
|
if let frontmostPID = frontmostPID,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user