mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix settings show animation.
This commit is contained in:
parent
50b0b61118
commit
482ecf12ff
1 changed files with 2 additions and 2 deletions
|
@ -385,7 +385,7 @@ void LayerStackWidget::hideAll(anim::type animated) {
|
|||
}
|
||||
|
||||
void LayerStackWidget::hideTopLayer(anim::type animated) {
|
||||
if (_specialLayer) {
|
||||
if (_specialLayer || _mainMenu) {
|
||||
hideLayers(animated);
|
||||
} else {
|
||||
hideAll(animated);
|
||||
|
@ -393,7 +393,7 @@ void LayerStackWidget::hideTopLayer(anim::type animated) {
|
|||
}
|
||||
|
||||
bool LayerStackWidget::layerShown() const {
|
||||
return _specialLayer || currentLayer();
|
||||
return _specialLayer || currentLayer() || _mainMenu;
|
||||
}
|
||||
|
||||
void LayerStackWidget::setCacheImages() {
|
||||
|
|
Loading…
Add table
Reference in a new issue