Skip to content

Commit

Permalink
Fixed incorrect guard return statement when rendering limit lines (#4563
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jjatie authored Feb 10, 2021
1 parent 931ebe8 commit 3d3e017
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 3d3e017

Please sign in to comment.