From 5011e4dd7999b55e62f687acbec7c910fc70959d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vil=C3=A9m=20Ra=C5=A1ka?= Date: Sat, 2 Aug 2025 15:09:03 +0200 Subject: [PATCH] Fixed wrong reference mathColor was used instead of mathColorbox --- Sources/SwiftMath/MathRender/MTMathListBuilder.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SwiftMath/MathRender/MTMathListBuilder.swift b/Sources/SwiftMath/MathRender/MTMathListBuilder.swift index 8bf0d62..d71d522 100755 --- a/Sources/SwiftMath/MathRender/MTMathListBuilder.swift +++ b/Sources/SwiftMath/MathRender/MTMathListBuilder.swift @@ -617,7 +617,7 @@ public struct MTMathListBuilder { if color == nil { return nil; } - mathColor.colorString = color! + mathColorbox.colorString = color! mathColorbox.innerList = self.buildInternal(true) return mathColorbox } else {