Skip to content

Commit

Permalink
Fix bug in legend layout causing items to fallover into next column
Browse files Browse the repository at this point in the history
Resolves #189
  • Loading branch information
NickEntin committed Jan 19, 2024
1 parent 3e79008 commit a4ac2c4
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public class SnapshotAndLegendView: UIView {
y: Metrics.legendInsets.top
)

let maxYBoundary = bounds.minY + availableLegendHeight
let maxYBoundary = bounds.minY + Metrics.legendInsets.top + availableLegendHeight

for legendView in legendViews {
legendView.bounds.size = legendView.sizeThatFits(
Expand Down

0 comments on commit a4ac2c4

Please sign in to comment.