Skip to content

Commit

Permalink
#308 [ui] PhotoGrid X 버튼 위치 조정
Browse files Browse the repository at this point in the history
  • Loading branch information
murjune committed Sep 3, 2023
1 parent db58146 commit 57e468e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ fun PhotoItem(

private fun Modifier.deleteButtonLayout() = this.layout { measurable, constraints ->
val placeable = measurable.measure(constraints)
val placeableY = (placeable.height * 0.38f).toInt()
val placeableX = (placeable.width * 0.38f).toInt()
val placeableY = (placeable.height * 0.36f).toInt()
val placeableX = (placeable.width * 0.36f).toInt()
layout(placeable.width, placeable.height) {
placeable.place(
x = placeableX,
Expand Down

0 comments on commit 57e468e

Please sign in to comment.