Enable drawing text autocorrection

This commit is contained in:
Ilya Laktyushin
2023-06-10 22:14:26 +04:00
parent bf5a8709cc
commit 12dde45917
2 changed files with 6 additions and 1 deletions

View File

@@ -361,6 +361,11 @@ final class VideoScrubberComponent: Component {
return scrubberSize
}
override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
let hitTestSlop = UIEdgeInsets(top: -8.0, left: -9.0, bottom: -8.0, right: -9.0)
return self.bounds.inset(by: hitTestSlop).contains(point)
}
}
public func makeView() -> View {