Various fixes

This commit is contained in:
Ilya Laktyushin
2023-02-18 00:51:36 +04:00
parent 1acde55d24
commit ef96be345c
15 changed files with 139 additions and 26 deletions

View File

@@ -9,7 +9,7 @@ open class SparseNode: ASDisplayNode {
if self.alpha.isZero {
return nil
}
if !self.bounds.contains(point) {
if !self.bounds.inset(by: self.hitTestSlop).contains(point) {
return nil
}
for view in self.view.subviews.reversed() {