mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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) {
|
if (_pinnedBar) {
|
||||||
_pinnedBar->show();
|
_pinnedBar->show();
|
||||||
}
|
}
|
||||||
|
if (_translateBar) {
|
||||||
|
_translateBar->show();
|
||||||
|
}
|
||||||
if (_groupCallBar) {
|
if (_groupCallBar) {
|
||||||
_groupCallBar->show();
|
_groupCallBar->show();
|
||||||
}
|
}
|
||||||
|
@ -3722,6 +3725,9 @@ void HistoryWidget::hideChildWidgets() {
|
||||||
if (_pinnedBar) {
|
if (_pinnedBar) {
|
||||||
_pinnedBar->hide();
|
_pinnedBar->hide();
|
||||||
}
|
}
|
||||||
|
if (_translateBar) {
|
||||||
|
_translateBar->hide();
|
||||||
|
}
|
||||||
if (_groupCallBar) {
|
if (_groupCallBar) {
|
||||||
_groupCallBar->hide();
|
_groupCallBar->hide();
|
||||||
}
|
}
|
||||||
|
@ -4010,6 +4016,9 @@ void HistoryWidget::showAnimated(
|
||||||
|
|
||||||
void HistoryWidget::showFinished() {
|
void HistoryWidget::showFinished() {
|
||||||
_cornerButtons.finishAnimations();
|
_cornerButtons.finishAnimations();
|
||||||
|
if (_translateBar) {
|
||||||
|
_translateBar->finishAnimating();
|
||||||
|
}
|
||||||
if (_pinnedBar) {
|
if (_pinnedBar) {
|
||||||
_pinnedBar->finishAnimating();
|
_pinnedBar->finishAnimating();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue