Skip to content

Commit 33a0610

Browse files
committed
Fix bug
1 parent 07f5b5b commit 33a0610

File tree

1 file changed

+1
-1
lines changed
  • android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/map/internal

1 file changed

+1
-1
lines changed

android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/map/internal/MapGLRenderer.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class MapGLRenderer(private val resources: Resources, private val mapConfig: Map
7070
}
7171
}
7272

73-
private fun Float.toRadians() = this * Math.PI.toFloat() / COMPLETE_ANGLE / 2
73+
private fun Float.toRadians() = this * Math.PI.toFloat() / (COMPLETE_ANGLE / 2)
7474

7575
private fun clear() {
7676
// Redraw background color

0 commit comments

Comments
 (0)