mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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) {
|
void GroupCallUserpics::toggle(Userpic &userpic, bool shown) {
|
||||||
|
if (userpic.hiding == !shown && !userpic.shownAnimation.animating()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
userpic.hiding = !shown;
|
userpic.hiding = !shown;
|
||||||
userpic.shownAnimation.start(
|
userpic.shownAnimation.start(
|
||||||
[=] { recountAndRepaint(); },
|
[=] { recountAndRepaint(); },
|
||||||
|
|
Loading…
Add table
Reference in a new issue