Skip to content

Commit

Permalink
Set canBecomeKey to false on PassThroughWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
finnvoor committed Nov 5, 2024
1 parent eefc75b commit fd890f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/StreamDeckSimulator/StreamDeckSimulator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ public final class StreamDeckSimulator {
}

private class PassThroughWindow: UIWindow {

override var canBecomeKey: Bool { false }

Check failure on line 59 in Sources/StreamDeckSimulator/StreamDeckSimulator.swift

View workflow job for this annotation

GitHub Actions / Run SwiftLint

Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
// Get view from superclass.
guard let hitView = super.hitTest(point, with: event) else { return nil }
Expand Down

0 comments on commit fd890f9

Please sign in to comment.