2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Some more ripple animations. Now only anim::value (float64).

Also each FloatAnimation now stops MTP responses.
Also slide animations done by FloatAnimation.
Closed beta 10019012.
This commit is contained in:
John Preston
2016-12-05 14:01:08 +03:00
parent a248cef15d
commit 06ed7b8eaf
109 changed files with 2129 additions and 1796 deletions

View File

@@ -241,9 +241,9 @@ void MainWindow::clearPasscode() {
_passcode.destroy();
if (_intro) {
_intro->animShow(bg, true);
_intro->showAnimated(bg, true);
} else {
_main->animShow(bg, true);
_main->showAnimated(bg, true);
}
notifyUpdateAll();
updateGlobalMenu();
@@ -265,7 +265,7 @@ void MainWindow::setupPasscode() {
}
if (_intro) _intro->hide();
if (animated) {
_passcode->animShow(bg);
_passcode->showAnimated(bg);
} else {
setInnerFocus();
}
@@ -313,7 +313,7 @@ void MainWindow::setupIntro() {
updateControlsGeometry();
if (animated) {
_intro->animShow(bg);
_intro->showAnimated(bg);
} else {
setInnerFocus();
}
@@ -367,7 +367,7 @@ void MainWindow::setupMain(const MTPUser *self) {
updateControlsGeometry();
if (animated) {
_main->animShow(bg);
_main->showAnimated(bg);
} else {
_main->activate();
}