We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a130a2d commit 9f8f51cCopy full SHA for 9f8f51c
Sources/LCLabel/LCLabel.swift
@@ -309,7 +309,6 @@ final public class LCLabel: UILabel {
309
assert(
310
!newBounds.isNegative,
311
"The new bounds are negative with isnt allowed, check the frame or the textInsets")
312
- textContainer.maximumNumberOfLines = numberOfLines
313
textContainer.size = newBounds.size
314
layoutManager.ensureLayout(for: textContainer)
315
let drawableFrame = layoutManager.usedRect(for: textContainer)
0 commit comments