Skip to content

Commit

Permalink
renderer2d/InteractionAdapter: Fix degree character.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulosousadias committed Nov 14, 2024
1 parent 23974fa commit 98f20c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java/pt/lsts/neptus/renderer2d/InteractionAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ else if (measuring) {
int angle = (int) Math.toDegrees(Math.atan2(offsets[1], offsets[0]));
if (angle < 0)
angle += 360;
String angleTxt = String.format("%", angle);
String angleTxt = String.format("%", angle);
g.fillArc((int) start.getX() - 30, (int) start.getY() - 30, 60, 60,
(int) Math.toDegrees(Math.PI / 2 + source.getRotation()), -angle);

Expand Down

0 comments on commit 98f20c1

Please sign in to comment.