Skip to content

Commit

Permalink
fix vertical spacing too big after small vertical padding
Browse files Browse the repository at this point in the history
  • Loading branch information
dkk committed Mar 21, 2021
1 parent 0c1fd30 commit b74ba6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/WrappingHStack/InternalWrappingHStack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ struct InternalWrappingHStack<Content: View>: View {
}

var body: some View {
VStack(alignment: alignment.horizontal) {
VStack(alignment: alignment.horizontal, spacing: 0) {
ForEach(0 ..< totalLanes, id: \.self) { laneIndex in
HStack(alignment: alignment.vertical, spacing: spacing) {
ForEach(startOf(lane: laneIndex) ... endOf(lane: laneIndex), id: \.self) {
Expand Down

0 comments on commit b74ba6d

Please sign in to comment.