Skip to content

Commit 31bdd75

Browse files
author
KhalilSelyan
committed
style: better sizing of the donut in speed limit
Signed-off-by: KhalilSelyan <khalil@leodrive.ai>
1 parent aaac570 commit 31bdd75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/autoware_overlay_rviz_plugin/autoware_vehicle_overlay_rviz_plugin/src/speed_limit_display.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ void SpeedLimitDisplay::drawSpeedLimitIndicator(QPainter & painter, const QRectF
7373

7474
// Define the area for the inner circle
7575
QRectF innerCircleRect = outerCircleRect;
76-
innerCircleRect.setWidth(outerCircleRect.width() / 1.375);
77-
innerCircleRect.setHeight(outerCircleRect.height() / 1.375);
76+
innerCircleRect.setWidth(outerCircleRect.width() / 1.25);
77+
innerCircleRect.setHeight(outerCircleRect.height() / 1.25);
7878
innerCircleRect.moveCenter(outerCircleRect.center());
7979

8080
// Draw the outer circle

0 commit comments

Comments
 (0)