Various fixes

This commit is contained in:
Ilya Laktyushin
2022-06-30 23:18:06 +03:00
parent 16d6010385
commit c038d10c9a
7 changed files with 55 additions and 30 deletions

View File

@@ -2658,6 +2658,15 @@ final class ChatMediaInputNode: ChatInputNode {
self.updatePaneClippingContainer(size: self.paneClippingContainer.bounds.size, offset: collectionListPanelOffset, transition: transition)
}
override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
if self.panelIsFocused {
if point.y > -41.0 {
return true
}
}
return super.point(inside: point, with: event)
}
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
if self.panelIsFocused {
if point.y > -41.0 && point.y < 38.0 {