Various Fixes

This commit is contained in:
Ilya Laktyushin
2021-11-17 18:05:34 +04:00
parent c677bba7c9
commit ce43f3df69
5 changed files with 38 additions and 12 deletions

View File

@@ -9,6 +9,9 @@ public final class SparseNode: ASDisplayNode {
if self.alpha.isZero {
return nil
}
if !self.bounds.contains(point) {
return nil
}
for view in self.view.subviews {
if let result = view.hitTest(self.view.convert(point, to: view), with: event), result.isUserInteractionEnabled {
return result