mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix call window hiding when compositing is not supported
This commit is contained in:
parent
7409d615a3
commit
9cbe899688
1 changed files with 2 additions and 0 deletions
|
@ -463,6 +463,8 @@ void Panel::toggleOpacityAnimation(bool visible) {
|
||||||
_visible ? 1. : 0.,
|
_visible ? 1. : 0.,
|
||||||
st::callPanelDuration,
|
st::callPanelDuration,
|
||||||
_visible ? anim::easeOutCirc : anim::easeInCirc);
|
_visible ? anim::easeOutCirc : anim::easeInCirc);
|
||||||
|
} else if (!isHidden() && !_visible) {
|
||||||
|
hide();
|
||||||
}
|
}
|
||||||
if (isHidden() && _visible) {
|
if (isHidden() && _visible) {
|
||||||
show();
|
show();
|
||||||
|
|
Loading…
Add table
Reference in a new issue