2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Added some work in progress to improve horizontal line animation.

This commit is contained in:
23rd
2023-06-15 17:59:38 +03:00
committed by John Preston
parent d1f2950167
commit 7dfdcc7be0
2 changed files with 59 additions and 29 deletions

View File

@@ -22,6 +22,7 @@ public:
void setChartData(Data::StatisticalChart chartData);
void setHeightLimits(Limits newHeight, bool animated);
void addHorizontalLine(Limits newHeight, bool animated);
protected:
void paintEvent(QPaintEvent *e) override;
@@ -54,6 +55,8 @@ private:
anim::value animValueXMax;
anim::value animValueYMin;
anim::value animValueYMax;
anim::value animValueYAlpha;
} _xPercentage;
float64 _minMaxUpdateStep = 0.;