mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Removed display of all layers in media view on open any media.
This commit is contained in:
parent
5515988439
commit
39e8ed22a9
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue