This commit is contained in:
Michael Griebling
2023-01-18 10:27:40 -05:00
parent 19ead06e4c
commit 7b1e44331c

View File

@@ -240,8 +240,10 @@ public class MTMathUILabel : MTView {
func _layoutSubviews() {
if _mathList != nil {
print("Pre list = \(_mathList!)")
_displayList = MTTypesetter.createLineForMathList(_mathList, font: font, style: currentStyle)
_displayList!.textColor = textColor
print("Post list = \(_mathList!)")
var textX = CGFloat(0)
switch self.textAlignment {
case .left: textX = contentInsets.left