Various fixes

This commit is contained in:
Ilya Laktyushin
2025-03-17 00:17:58 +04:00
parent 5473a8d25d
commit c529ba1c87
7 changed files with 72 additions and 77 deletions

View File

@@ -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
}