mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Various fixes
This commit is contained in:
@@ -1171,6 +1171,11 @@ private final class ChatSendStarsScreenComponent: Component {
|
||||
if !self.bounds.contains(point) {
|
||||
return nil
|
||||
}
|
||||
|
||||
if let balanceView = self.balanceOverlay.view, let result = balanceView.hitTest(self.convert(point, to: balanceView), with: event) {
|
||||
return result
|
||||
}
|
||||
|
||||
if !self.backgroundLayer.frame.contains(point) {
|
||||
return self.dimView
|
||||
}
|
||||
@@ -1184,7 +1189,7 @@ private final class ChatSendStarsScreenComponent: Component {
|
||||
return hitTestTarget
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
let result = super.hitTest(point, with: event)
|
||||
return result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user