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:
@@ -372,6 +372,12 @@ void MainWindow::ui_hideSettingsAndLayer(anim::type animated) {
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::ui_removeLayerBlackout() {
|
||||
if (_layer) {
|
||||
_layer->removeBodyCache();
|
||||
}
|
||||
}
|
||||
|
||||
MainWidget *MainWindow::mainWidget() {
|
||||
return _main;
|
||||
}
|
||||
|
Reference in New Issue
Block a user