Fix comments root pinned view disappearing.
This commit is contained in:
parent
54085c70a4
commit
4f6c7657bf
|
@ -1421,6 +1421,7 @@ QPixmap RepliesWidget::grabForShowAnimation(const Window::SectionSlideParams &pa
|
||||||
_composeControls->showForGrab();
|
_composeControls->showForGrab();
|
||||||
auto result = Ui::GrabWidget(this);
|
auto result = Ui::GrabWidget(this);
|
||||||
if (params.withTopBarShadow) _topBarShadow->show();
|
if (params.withTopBarShadow) _topBarShadow->show();
|
||||||
|
_rootView->hide();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1706,6 +1707,7 @@ void RepliesWidget::showAnimatedHook(
|
||||||
void RepliesWidget::showFinishedHook() {
|
void RepliesWidget::showFinishedHook() {
|
||||||
_topBar->setAnimatingMode(false);
|
_topBar->setAnimatingMode(false);
|
||||||
_composeControls->showFinished();
|
_composeControls->showFinished();
|
||||||
|
_rootView->show();
|
||||||
|
|
||||||
// We should setup the drag area only after
|
// We should setup the drag area only after
|
||||||
// the section animation is finished,
|
// the section animation is finished,
|
||||||
|
|
Loading…
Reference in New Issue