mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix userpics list glitch.
This commit is contained in:
parent
94ad9221ed
commit
1f47b8e130
1 changed files with 3 additions and 0 deletions
|
@ -364,6 +364,9 @@ void GroupCallUserpics::finishAnimating() {
|
|||
}
|
||||
|
||||
void GroupCallUserpics::toggle(Userpic &userpic, bool shown) {
|
||||
if (userpic.hiding == !shown && !userpic.shownAnimation.animating()) {
|
||||
return;
|
||||
}
|
||||
userpic.hiding = !shown;
|
||||
userpic.shownAnimation.start(
|
||||
[=] { recountAndRepaint(); },
|
||||
|
|
Loading…
Add table
Reference in a new issue