Skip to content

Commit 6adf3f6

Browse files
KhalilSelyanxmfcx
andcommitted
fix: remove decimal and use double
Co-authored-by: M. Fatih Cırıt <xmfcx@users.noreply.github.com>
1 parent 955db5e commit 6adf3f6

File tree

1 file changed

+1
-1
lines changed
  • common/autoware_overlay_rviz_plugin/autoware_overlay_rviz_plugin/src

1 file changed

+1
-1
lines changed

common/autoware_overlay_rviz_plugin/autoware_overlay_rviz_plugin/src/gear_display.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void GearDisplay::drawGearIndicator(QPainter & painter, const QRectF & backgroun
8989

9090
double gearBoxSize = 37.5;
9191
double gearX = backgroundRect.left() + 54;
92-
double gearY = backgroundRect.height() / 2 - gearBoxSize / 2.0;
92+
double gearY = backgroundRect.height() / 2 - gearBoxSize / 2;
9393
QRect gearRect(gearX, gearY, gearBoxSize, gearBoxSize);
9494
painter.setBrush(gray);
9595
painter.drawRoundedRect(gearRect, 10, 10);

0 commit comments

Comments
 (0)