Skip to content

Commit

Permalink
fix compass bug (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanChen123 authored Jan 27, 2025
1 parent a64183b commit 839ad1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/website/views/components/BoatCompass/BoatCompass.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class BoatCompass extends React.Component<BoatCompassProps> {

_rotateBoatString(boatAngle: number | null): string {
if (boatAngle == null) {
return `rotate0deg)`;
return `rotate(0deg)`;
} else {
return `rotate(${this._rotateBoat(boatAngle)}deg)`;
}
Expand Down

0 comments on commit 839ad1f

Please sign in to comment.