Various fixes

This commit is contained in:
Ilya Laktyushin
2023-04-03 16:37:30 +04:00
parent 6f4f3817a9
commit 555e36a19a
3 changed files with 18 additions and 14 deletions

View File

@@ -688,7 +688,7 @@ final class ChatSendMessageActionSheetControllerNode: ViewControllerTracingNode,
sendButtonFrame.origin.y -= menuHeightWithInset
}
sendButtonFrame.origin.y = min(sendButtonFrame.origin.y + contentOffset, layout.size.height - layout.intrinsicInsets.bottom - initialSendButtonFrame.height)
transition.updateFrame(node: self.sendButtonNode, frame: sendButtonFrame)
transition.updateFrameAsPositionAndBounds(node: self.sendButtonNode, frame: sendButtonFrame)
var messageFrame = self.textFieldFrame
messageFrame.size.width += 32.0