touch transparency for debug view container

commit_hash:3b038d6fbe166895462f5e387ebf82273119410c
This commit is contained in:
korziuk
2025-04-09 10:51:11 +03:00
parent cfc14a2cef
commit 0f17110d68
@@ -111,6 +111,11 @@ private final class DebugBlockView: BlockView, VisibleBoundsTrackingContainer {
guard let showDebugInfo, let errorCollector, errorCollector.totalErrorCount > 0 else { return }
showDebugInfo(ErrorListView(errors: errorCollector.errorList))
}
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
let result = super.hitTest(point, with: event)
return result === self ? nil : result
}
}
private let showOverlayURL = URL(string: "debugInfo://show")!