--- a/src/ui/canvas.cpp Tue Jul 27 09:56:06 2021 +0300 +++ b/src/ui/canvas.cpp Tue Jul 27 11:11:32 2021 +0300 @@ -213,7 +213,9 @@ for (const auto& axis : directions) { const QPointF x_p = this->modelToScreenCoordinates(axis.direction); - const auto intersection = geom::rayRectangleIntersection(geom::rayFromPoints(toVec2(p1), toVec2(x_p)), box); + const auto intersection = geom::rayRectangleIntersection( + geom::rayFromPoints(toVec2(p1), toVec2(x_p)), + box); if (intersection.has_value()) { renderText(axis.text, *intersection);