2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Add new animations engine.

This commit is contained in:
John Preston
2019-02-04 16:34:50 +03:00
parent 92332b45ea
commit 9a616edf2a
19 changed files with 514 additions and 77 deletions

View File

@@ -117,10 +117,9 @@ namespace App {
}
MainWindow *wnd() {
if (Core::Sandbox::Instance().applicationLaunched()) {
return Core::App().getActiveWindow();
}
return nullptr;
return Core::IsAppLaunched()
? Core::App().getActiveWindow()
: nullptr;
}
MainWidget *main() {