Various fixes

This commit is contained in:
Ilya Laktyushin
2022-07-26 02:44:55 +03:00
parent f1753011e1
commit fcc48b47f5
10 changed files with 88 additions and 46 deletions

View File

@@ -3148,6 +3148,13 @@ class ChatTextInputPanelNode: ChatInputPanelNode, ASEditableTextNodeDelegate {
return nil
}
func frameForMenuButton() -> CGRect? {
if !self.menuButton.alpha.isZero {
return self.menuButton.frame
}
return nil
}
func frameForInputActionButton() -> CGRect? {
if !self.actionButtons.alpha.isZero {
if self.actionButtons.micButton.alpha.isZero {