2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +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

@@ -160,6 +160,7 @@ MainWidget::MainWidget(QWidget *parent) : TWidget(parent)
MTP::setGlobalFailHandler(rpcFail(&MainWidget::updateFail));
_mediaType->hide();
_mediaType->setOrigin(Ui::PanelAnimation::Origin::TopRight);
_topBar->mediaTypeButton()->installEventFilter(_mediaType);
show();