Skip to content

Commit

Permalink
Merge pull request #11 from badoo/remove_layoutmanager_leading
Browse files Browse the repository at this point in the history
Remove FontLeading from TextCalculations
  • Loading branch information
rmenezes authored Oct 24, 2024
2 parents ae22da0 + e7c27af commit 2657f2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions HyperLabel/TextLayoutInfoProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ final class TextLayoutInfoProvider {
self.textContainer = NSTextContainer()
self.textStorage = NSTextStorage()

self.layoutManager.usesFontLeading = false
self.layoutManager.addTextContainer(self.textContainer)
self.textStorage.addLayoutManager(self.layoutManager)
}
Expand Down

0 comments on commit 2657f2c

Please # to comment.