mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fixed position of selected X in linear chart animations.
This commit is contained in:
@@ -75,9 +75,6 @@ private:
|
||||
[[nodiscard]] Limits currentHeightLimits() const;
|
||||
[[nodiscard]] Limits currentFooterHeightLimits() const;
|
||||
[[nodiscard]] Limits finalHeightLimits() const;
|
||||
[[nodiscard]] float64 detailsProgress(
|
||||
crl::time now,
|
||||
const Limits &appearedOnXLimits) const;
|
||||
[[nodiscard]] bool animating() const;
|
||||
[[nodiscard]] bool footerAnimating() const;
|
||||
[[nodiscard]] bool isFPSSlow() const;
|
||||
@@ -146,8 +143,8 @@ private:
|
||||
|
||||
struct {
|
||||
base::unique_qptr<PointDetailsWidget> widget;
|
||||
float64 currentX = 0;
|
||||
Limits appearedOnXLimits;
|
||||
Ui::Animations::Basic animation;
|
||||
bool hideOnAnimationEnd = false;
|
||||
} _details;
|
||||
|
||||
struct {
|
||||
|
Reference in New Issue
Block a user