mirror of
https://github.com/divkit/divkit.git
synced 2026-05-07 20:02:32 +00:00
touch transparency for debug view container
commit_hash:3b038d6fbe166895462f5e387ebf82273119410c
This commit is contained in:
@@ -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")!
|
||||
|
||||
Reference in New Issue
Block a user