Skip to content

Commit

Permalink
Fix a layout bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
willdale committed Mar 29, 2021
1 parent 5fdb40f commit 5bb3cfc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ internal struct XAxisChartDataCell<ChartData>: View where ChartData: CTLineBarCh
}
}
)
.fixedSize(horizontal: true, vertical: false)
.onAppear {
chartData.viewData.xAxisLabelHeights.append(height)
}
Expand Down

0 comments on commit 5bb3cfc

Please sign in to comment.