Skip to content

Commit

Permalink
remove modifier to test crash
Browse files Browse the repository at this point in the history
  • Loading branch information
mnalis committed Nov 28, 2024
1 parent cd5baa5 commit 2500c76
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ fun PointerPinButton(
val a = rotate * PI / 180f
Surface(
onClick = onClick,
modifier = modifier
.proportionalAbsoluteOffset(
x = (-sin(a) / 2.0 - 0.5).toFloat(),
y = (cos(a) / 2.0 - 0.5).toFloat(),
),
enabled = enabled,
shape = pointerPinShape,
color = colors.backgroundColor(enabled).value,
Expand Down

0 comments on commit 2500c76

Please sign in to comment.