2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Improve main menu > settings transition animation.

Remove full window cache in case of settings shown as a section.
This commit is contained in:
John Preston
2018-09-06 17:58:43 +03:00
parent 482ecf12ff
commit cfce189201
7 changed files with 42 additions and 5 deletions

View File

@@ -372,6 +372,12 @@ void MainWindow::ui_hideSettingsAndLayer(anim::type animated) {
}
}
void MainWindow::ui_removeLayerBlackout() {
if (_layer) {
_layer->removeBodyCache();
}
}
MainWidget *MainWindow::mainWidget() {
return _main;
}