mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
fixed some emojis not displayed in os x font
This commit is contained in:
@@ -1221,7 +1221,7 @@ MessageField::MessageField(HistoryWidget *history, const style::flatTextarea &st
|
||||
}
|
||||
|
||||
void MessageField::onChange() {
|
||||
int newh = ceil(document()->size().height());
|
||||
int newh = ceil(document()->size().height()) + 2 * fakeMargin();
|
||||
if (newh > st::maxFieldHeight) {
|
||||
newh = st::maxFieldHeight;
|
||||
} else if (newh < st::minFieldHeight) {
|
||||
|
Reference in New Issue
Block a user