Skip to content

Commit 839ad1f

Browse files
fix compass bug (#479)
1 parent a64183b commit 839ad1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/website/views/components/BoatCompass/BoatCompass.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class BoatCompass extends React.Component<BoatCompassProps> {
5656

5757
_rotateBoatString(boatAngle: number | null): string {
5858
if (boatAngle == null) {
59-
return `rotate0deg)`;
59+
return `rotate(0deg)`;
6060
} else {
6161
return `rotate(${this._rotateBoat(boatAngle)}deg)`;
6262
}

0 commit comments

Comments
 (0)