Skip to content

Commit 435c1ee

Browse files
Olivier Couetdpiparo
Olivier Couet
authored andcommitted
[graphics] set TMathText color in TLatex
1 parent 50c77ef commit 435c1ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: graf2d/graf/src/TLatex.cxx

+1
Original file line numberDiff line numberDiff line change
@@ -2235,6 +2235,7 @@ Int_t TLatex::PaintLatex1(Double_t x, Double_t y, Double_t angle, Double_t size,
22352235
TMathText tm;
22362236
tm.SetTextAlign(GetTextAlign());
22372237
tm.SetTextFont(GetTextFont());
2238+
tm.SetTextColor(GetTextColor());
22382239
tm.PaintMathText(x, y, angle, size, text1);
22392240
// If PDF, paint using TLatex
22402241
if (gVirtualPS) {

0 commit comments

Comments
 (0)