2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Change *[Fast|Animated] to anim::type in FadeWrap.

This commit is contained in:
John Preston
2017-09-30 22:20:40 +03:00
parent 0c4bda71fd
commit 83850d9b86
44 changed files with 201 additions and 224 deletions

View File

@@ -2752,7 +2752,7 @@ void MainWidget::showMediaOverview(PeerData *peer, MediaOverviewType type, bool
} else {
_overview->fastShow();
}
_history->finishAnimation();
_history->finishAnimating();
if (back) {
clearBotStartToken(_history->peer());
}
@@ -3018,7 +3018,7 @@ void MainWidget::showNewSection(
}
_mainSection = std::move(newMainSection);
updateControlsGeometry();
_history->finishAnimation();
_history->finishAnimating();
_history->showHistory(0, 0);
_history->hide();
if (Adaptive::OneColumn()) _dialogs->hide();