We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ba6968 commit 9fd7875Copy full SHA for 9fd7875
Sources/SwiftMath/MathBundle/MathImage.swift
@@ -75,7 +75,7 @@ extension MathImage {
75
intrinsicContentSize = intrinsicContentSize(displayList)
76
displayList.textColor = textColor
77
78
- let size = intrinsicContentSize.integral
+ let size = intrinsicContentSize.regularized
79
layoutImage(size: size, displayList: displayList)
80
81
#if os(iOS)
@@ -108,7 +108,7 @@ private extension CGAffineTransform {
108
}
109
110
extension CGSize {
111
- fileprivate var integral: CGSize {
+ fileprivate var regularized: CGSize {
112
CGSize(width: ceil(width), height: ceil(height))
113
114
0 commit comments