mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix settings show animation.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user