2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

MediaView save message fixed. Sticker pan size updated correctly.

This commit is contained in:
John Preston
2017-01-09 17:12:53 +04:00
parent 143181095f
commit c09dab2b3a
6 changed files with 16 additions and 23 deletions

View File

@@ -2983,11 +2983,12 @@ int EmojiPan::countBottom() const {
void EmojiPan::moveByBottom() {
if (inlineResultsShown()) {
setOrigin(Ui::PanelAnimation::Origin::BottomLeft);
moveToLeft(0, countBottom() - height());
moveToLeft(0, y());
} else {
setOrigin(Ui::PanelAnimation::Origin::BottomRight);
moveToRight(0, countBottom() - height());
moveToRight(0, y());
}
updateContentHeight();
}
void EmojiPan::enterEvent(QEvent *e) {