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
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user