...
This commit is contained in:
@@ -240,8 +240,10 @@ public class MTMathUILabel : MTView {
|
|||||||
|
|
||||||
func _layoutSubviews() {
|
func _layoutSubviews() {
|
||||||
if _mathList != nil {
|
if _mathList != nil {
|
||||||
|
print("Pre list = \(_mathList!)")
|
||||||
_displayList = MTTypesetter.createLineForMathList(_mathList, font: font, style: currentStyle)
|
_displayList = MTTypesetter.createLineForMathList(_mathList, font: font, style: currentStyle)
|
||||||
_displayList!.textColor = textColor
|
_displayList!.textColor = textColor
|
||||||
|
print("Post list = \(_mathList!)")
|
||||||
var textX = CGFloat(0)
|
var textX = CGFloat(0)
|
||||||
switch self.textAlignment {
|
switch self.textAlignment {
|
||||||
case .left: textX = contentInsets.left
|
case .left: textX = contentInsets.left
|
||||||
|
|||||||
Reference in New Issue
Block a user