Skip to content

Commit

Permalink
Fixed incorrect guard return statement when rendering limit lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jjatie committed Feb 10, 2021
1 parent 931ebe8 commit 4cdbe25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Charts/Renderers/YAxisRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ open class YAxisRenderer: NSObject, AxisRenderer
let label = l.label

// if drawing the limit-value label is enabled
guard l.drawLabelEnabled, !label.isEmpty else { return }
guard l.drawLabelEnabled, !label.isEmpty else { continue }

let labelLineHeight = l.valueFont.lineHeight

Expand Down

0 comments on commit 4cdbe25

Please sign in to comment.