Fix call window hiding when compositing is not supported

This commit is contained in:
Ilya Fedin 2020-05-10 21:01:01 +04:00 committed by John Preston
parent 7409d615a3
commit 9cbe899688
1 changed files with 2 additions and 0 deletions

View File

@ -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();