mirror of https://github.com/procxx/kepka.git
Fix call window hiding when compositing is not supported
This commit is contained in:
parent
7409d615a3
commit
9cbe899688
|
@ -463,6 +463,8 @@ void Panel::toggleOpacityAnimation(bool visible) {
|
|||
_visible ? 1. : 0.,
|
||||
st::callPanelDuration,
|
||||
_visible ? anim::easeOutCirc : anim::easeInCirc);
|
||||
} else if (!isHidden() && !_visible) {
|
||||
hide();
|
||||
}
|
||||
if (isHidden() && _visible) {
|
||||
show();
|
||||
|
|
Loading…
Reference in New Issue