Fixing color issue.

This commit is contained in:
Michael Griebling
2023-01-16 15:31:44 -05:00
parent ab928c1cbc
commit da9d449265

View File

@@ -232,7 +232,11 @@ public class MTMathListDisplay : MTDisplay {
set {
super.textColor = newValue
for displayAtom in self.subDisplays {
displayAtom.textColor = newValue
if displayAtom.localTextColor == nil {
displayAtom.textColor = newValue
} else {
displayAtom.textColor = displayAtom.localTextColor
}
}
}
get { super.textColor }