diff --git a/Sources/StreamDeckSimulator/StreamDeckSimulator.swift b/Sources/StreamDeckSimulator/StreamDeckSimulator.swift index f192910..b2869ac 100644 --- a/Sources/StreamDeckSimulator/StreamDeckSimulator.swift +++ b/Sources/StreamDeckSimulator/StreamDeckSimulator.swift @@ -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 }