Skip to content

Commit

Permalink
fixes #238
Browse files Browse the repository at this point in the history
  • Loading branch information
yamin8000 committed Sep 10, 2024
1 parent a8b59c4 commit d86a928
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ private fun GameBoard(
val boxPadding = 16.dp
val boxSize = screenWidth - (2 * boxPadding.value).dp
val itemMargin = 8.dp
val boxItemSize = ((boxSize.value - ((itemMargin.value * (gameSize - 1)))) / gameSize).dp
val boxItemSize = ((boxSize.value - itemMargin.value * (gameSize - 1)) / gameSize).dp

LazyVerticalGrid(
modifier = Modifier.size(boxSize),
Expand Down

0 comments on commit d86a928

Please sign in to comment.