Skip to content

Commit 9fd7875

Browse files
committed
renamed
1 parent 2ba6968 commit 9fd7875

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftMath/MathBundle/MathImage.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ extension MathImage {
7575
intrinsicContentSize = intrinsicContentSize(displayList)
7676
displayList.textColor = textColor
7777

78-
let size = intrinsicContentSize.integral
78+
let size = intrinsicContentSize.regularized
7979
layoutImage(size: size, displayList: displayList)
8080

8181
#if os(iOS)
@@ -108,7 +108,7 @@ private extension CGAffineTransform {
108108
}
109109
}
110110
extension CGSize {
111-
fileprivate var integral: CGSize {
111+
fileprivate var regularized: CGSize {
112112
CGSize(width: ceil(width), height: ceil(height))
113113
}
114114
}

0 commit comments

Comments
 (0)