Fix comments root pinned view disappearing.

This commit is contained in:
John Preston 2021-09-19 17:48:00 +03:00
parent 54085c70a4
commit 4f6c7657bf
1 changed files with 2 additions and 0 deletions

View File

@ -1421,6 +1421,7 @@ QPixmap RepliesWidget::grabForShowAnimation(const Window::SectionSlideParams &pa
_composeControls->showForGrab();
auto result = Ui::GrabWidget(this);
if (params.withTopBarShadow) _topBarShadow->show();
_rootView->hide();
return result;
}
@ -1706,6 +1707,7 @@ void RepliesWidget::showAnimatedHook(
void RepliesWidget::showFinishedHook() {
_topBar->setAnimatingMode(false);
_composeControls->showFinished();
_rootView->show();
// We should setup the drag area only after
// the section animation is finished,