Removed display of all layers in media view on open any media.

This commit is contained in:
23rd 2023-08-01 11:41:35 +03:00 committed by John Preston
parent 5515988439
commit 39e8ed22a9
1 changed files with 6 additions and 0 deletions

View File

@ -3209,6 +3209,12 @@ void OverlayWidget::show(OpenRequest request) {
// Count top notch on macOS before counting geometry.
_helper->beforeShow(_fullscreen);
}
if (_cachedShow) {
_cachedShow->showOrHideBoxOrLayer(
v::null,
Ui::LayerOption::CloseOther,
anim::type::instant);
}
if (photo) {
if (contextItem && contextPeer) {
return;