Skip to content

Commit

Permalink
remove pointerPinShape
Browse files Browse the repository at this point in the history
  • Loading branch information
mnalis committed Nov 28, 2024
1 parent cd5baa5 commit d988393
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
Expand Down

0 comments on commit d988393

Please sign in to comment.