diff --git a/app/src/main/java/de/westnordost/streetcomplete/screens/main/controls/PointerPinButton.kt b/app/src/main/java/de/westnordost/streetcomplete/screens/main/controls/PointerPinButton.kt index c9eb8beb77..f96f9b0ddf 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/screens/main/controls/PointerPinButton.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/screens/main/controls/PointerPinButton.kt @@ -54,7 +54,6 @@ fun PointerPinButton( rotate: Float = 0f, content: @Composable (BoxScope.() -> Unit), ) { - val pointerPinShape = remember(rotate) { PointerPinShape(rotate) } val a = rotate * PI / 180f Surface( onClick = onClick, @@ -64,7 +63,6 @@ fun PointerPinButton( y = (cos(a) / 2.0 - 0.5).toFloat(), ), enabled = enabled, - shape = pointerPinShape, color = colors.backgroundColor(enabled).value, contentColor = colors.contentColor(enabled).value, elevation = 4.dp