fix: graph jitter on load + format
This commit is contained in:
@@ -64,7 +64,8 @@ class ZUtils : public QObject {
|
||||
// (exact halves when `alignWhenCentered` is true, the rounded half of the
|
||||
// anchor target when it is false).
|
||||
Q_INVOKABLE static qreal snap(qreal value, QQuickItem* item);
|
||||
Q_INVOKABLE static qreal snapCeil(qreal value, QQuickItem* item); // text-derived sizes
|
||||
Q_INVOKABLE static qreal snapCeil(
|
||||
qreal value, QQuickItem* item); // text-derived sizes
|
||||
Q_INVOKABLE static qreal snapFloor(qreal value, QQuickItem* item);
|
||||
// Logs where an item sits in device pixels and whether it is aligned.
|
||||
// Returns true if aligned. `tag` is an optional label for the log line.
|
||||
@@ -72,8 +73,7 @@ class ZUtils : public QObject {
|
||||
// (whole device size, plus the offset the anchor produces), which is
|
||||
// detected from the item's anchors and Layout alignment.
|
||||
Q_INVOKABLE static bool logPlacement(
|
||||
QQuickItem* item,
|
||||
const QString& tag = QString());
|
||||
QQuickItem* item, const QString& tag = QString());
|
||||
|
||||
// Walks a stroked curve path (flat x,y pairs in the item's logical coords,
|
||||
// every point along the curve, not just its defined points) and checks
|
||||
|
||||
Reference in New Issue
Block a user