2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-29 13:47:47 +00:00

Fix translate bar show after slide animation.

This commit is contained in:
John Preston 2023-02-01 10:24:31 +04:00
parent bc90399ec3
commit 19f346e658

View File

@ -2642,6 +2642,9 @@ void HistoryWidget::updateControlsVisibility() {
if (_pinnedBar) {
_pinnedBar->show();
}
if (_translateBar) {
_translateBar->show();
}
if (_groupCallBar) {
_groupCallBar->show();
}
@ -3722,6 +3725,9 @@ void HistoryWidget::hideChildWidgets() {
if (_pinnedBar) {
_pinnedBar->hide();
}
if (_translateBar) {
_translateBar->hide();
}
if (_groupCallBar) {
_groupCallBar->hide();
}
@ -4010,6 +4016,9 @@ void HistoryWidget::showAnimated(
void HistoryWidget::showFinished() {
_cornerButtons.finishAnimations();
if (_translateBar) {
_translateBar->finishAnimating();
}
if (_pinnedBar) {
_pinnedBar->finishAnimating();
}