Skip to content

Commit

Permalink
reset to master, new debugs
Browse files Browse the repository at this point in the history
  • Loading branch information
mnalis committed Nov 28, 2024
1 parent cd5baa5 commit c77c47c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ import de.westnordost.streetcomplete.util.ktx.toast
import kotlinx.coroutines.launch
import kotlin.math.PI
import kotlin.math.abs
import de.westnordost.streetcomplete.util.logs.Log

/** Map controls shown on top of the map. */
@Composable
Expand Down Expand Up @@ -367,6 +368,7 @@ fun MainScreen(
MapAttribution(Modifier.padding(8.dp))
}

Log.d("MNALIS", intersection?.let { "a=${it.angle}, x=${it.position.x}, y=${it.position.x}" } ?: "null")
intersection?.let { (offset, angle) ->
val rotation = angle * 180 / PI
PointerPinButton(
Expand Down

0 comments on commit c77c47c

Please sign in to comment.