fix: graph jitter on load + format

This commit is contained in:
2026-11-09 20:20:27 +01:00
parent d69a6bcafd
commit e49ecabf62
13 changed files with 181 additions and 320 deletions
@@ -121,11 +121,15 @@ class SparklineItem : public QQuickItem {
void geometryChange(
const QRectF& newGeometry, const QRectF& oldGeometry) override;
void itemChange(ItemChange change, const ItemChangeData& value) override;
private:
void updateContentOffset();
void syncSlidePhase();
void applySmoothingRadius(internal::CircularBuffer* buffer) const;
SparklineContent* m_content = nullptr;
QMetaObject::Connection m_syncConnection;
internal::CircularBuffer* m_line1 = nullptr;
internal::CircularBuffer* m_line2 = nullptr;
QColor m_line1Color;