2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Added initial chart y-axis animation without x-axis.

This commit is contained in:
23rd
2023-05-26 16:04:49 +03:00
committed by John Preston
parent e8aa55d4d8
commit f4fc8ec2c4
4 changed files with 108 additions and 18 deletions

View File

@@ -41,6 +41,13 @@ private:
Limits _startFromH;
Limits _xPercentageLimits;
struct {
Limits was;
Limits now;
Ui::Animations::Basic animation;
crl::time lastUserInteracted = 0;
float64 progress = 0.;
} _xPercentage;
float64 _minMaxUpdateStep = 0.;