Removed display of all layers in media view on open any media.
This commit is contained in:
parent
5515988439
commit
39e8ed22a9
|
@ -3209,6 +3209,12 @@ void OverlayWidget::show(OpenRequest request) {
|
||||||
// Count top notch on macOS before counting geometry.
|
// Count top notch on macOS before counting geometry.
|
||||||
_helper->beforeShow(_fullscreen);
|
_helper->beforeShow(_fullscreen);
|
||||||
}
|
}
|
||||||
|
if (_cachedShow) {
|
||||||
|
_cachedShow->showOrHideBoxOrLayer(
|
||||||
|
v::null,
|
||||||
|
Ui::LayerOption::CloseOther,
|
||||||
|
anim::type::instant);
|
||||||
|
}
|
||||||
if (photo) {
|
if (photo) {
|
||||||
if (contextItem && contextPeer) {
|
if (contextItem && contextPeer) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user