Skip to content

Commit

Permalink
📝 better comment
Browse files Browse the repository at this point in the history
  • Loading branch information
CXwudi committed Jan 2, 2024
1 parent 49d52f3 commit 58cadbf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fun ColumnThatResizesFirstItem(
it.measure(constraints.copy(minHeight = 0, maxHeight = remainingHeight))
}

// Calculate the y position for placing the first item
// Calculate the y position for the second item when placed below the first item
val yPosition = resiziblePlacebles.maxOfOrNull { it.height } ?: 0

// Layout the items
Expand Down

0 comments on commit 58cadbf

Please sign in to comment.