mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-27 14:14:19 +03:00
Add comment
This commit is contained in:
parent
54f95ec4dd
commit
6431c1d603
@ -150,6 +150,8 @@ final class AttributesRunDrawer {
|
||||
}
|
||||
|
||||
private func fontGlyphRuns(from attrsRun: AttributesRun, offset: CGPoint) -> [FontGlyphRun] {
|
||||
// We do the check here despite the fact FontUtils.font(adding:to:) does it
|
||||
// since empty trait is the most frequent case
|
||||
let font = if attrsRun.attrs.fontTrait.isEmpty {
|
||||
self.font
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user