2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Rich dropdown animations.

This commit is contained in:
John Preston
2016-11-09 16:40:51 +03:00
parent 45ce0ecb1f
commit 3366e05b77
39 changed files with 1234 additions and 160 deletions

View File

@@ -2542,7 +2542,7 @@ void MediaView::onDropdown() {
_dropdown->addAction(action.text, this, action.member);
}
_dropdown->moveToRight(0, height() - _dropdown->height());
_dropdown->showAnimated();
_dropdown->showAnimated(Ui::PanelAnimation::Origin::BottomRight);
_dropdown->setFocus();
}