2
0
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:
John Preston
2014-10-25 19:40:20 +04:00
parent 898f8e66c1
commit cc45e06ea9
10 changed files with 1989 additions and 1613 deletions

View File

@@ -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) {