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 Oct 31, 2024
1 parent 929495b commit 32ceb94
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 }

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 32ceb94

Please sign in to comment.