mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various Fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user