2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

Crash reporting fixed, radial progress fixed. 0.9.38 dev version.

This commit is contained in:
John Preston
2016-04-01 00:36:46 +04:00
parent 9cb1511b63
commit f96b7da7ce
7 changed files with 22 additions and 23 deletions

View File

@@ -3046,8 +3046,7 @@ void RadialAnimation::update(float64 prg, bool finished, uint64 ms) {
_opacity *= 1 - r;
}
float64 fromstart = fulldt / st::radialPeriod;
float64 fromstartpart = fromstart - std::floor(fromstart);
a_arcStart.update(static_cast<int>(fromstartpart), anim::linear);
a_arcStart.update(fromstart - std::floor(fromstart), anim::linear);
}
void RadialAnimation::stop() {