fix: graph jitter on load + format
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user