fix(strokecanvasitem): use qreal instead of float to suppress -Wdouble-promotion
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 16s
Python / lint-format (pull_request) Successful in 23s
Python / test (pull_request) Successful in 48s
C++ / build (pull_request) Successful in 2m20s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m59s

This commit is contained in:
2026-06-30 01:22:40 +02:00
parent 3eecbc16bc
commit 4a18edfc78
5 changed files with 184 additions and 188 deletions
+2 -2
View File
@@ -11,9 +11,9 @@ struct Stroke {
QVector<QPointF> points;
QCanvasPath path;
QColor color;
float width;
qreal width;
int groupId = -1;
bool isSinglePoint = false;
};
};
}; // namespace ZShell::internal