mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-08 19:10:53 +00:00
Increase hit area
This commit is contained in:
parent
434a30fd6a
commit
598948fd8f
@ -504,7 +504,7 @@ public final class SparseDiscreteScrollingArea: ASDisplayNode {
|
||||
if self.lineIndicator.alpha <= 0.01 {
|
||||
return nil
|
||||
}
|
||||
if self.lineIndicator.frame.insetBy(dx: -4.0, dy: -2.0).contains(point) {
|
||||
if self.lineIndicator.frame.insetBy(dx: -8.0, dy: -4.0).contains(point) {
|
||||
return super.hitTest(point, with: event)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user