mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Fix translate bar show after slide animation.
This commit is contained in:
parent
bc90399ec3
commit
19f346e658
1 changed files with 9 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue