Various improvements

This commit is contained in:
Ali
2023-10-24 01:49:30 +04:00
parent 62b50d9e49
commit 53e1fec16b
4 changed files with 26 additions and 8 deletions

View File

@@ -782,7 +782,7 @@ public class ChatMessageInstantVideoItemNode: ChatMessageItemView, UIGestureReco
if let replyBackgroundNode = strongSelf.replyBackgroundNode, let replyBackgroundFrame {
replyBackgroundNode.frame = replyBackgroundFrame
let cornerRadius = replyBackgroundNode.frame.height <= 22.0 ? replyBackgroundNode.frame.height / 2.0 : 8.0
let cornerRadius = 4.0
replyBackgroundNode.update(size: replyBackgroundNode.bounds.size, cornerRadius: cornerRadius, transition: .immediate)
}