fix gr fontcolor setting

This commit is contained in:
Simon Christ 2021-12-09 11:54:15 +01:00 committed by Zhanibek
parent 45a2dceec6
commit 95c0ea7a68

View File

@ -413,7 +413,7 @@ function gr_set_font(
gr_font_family[family] >= 200 ? 3 : GR.TEXT_PRECISION_STRING, gr_font_family[family] >= 200 ? 3 : GR.TEXT_PRECISION_STRING,
) )
end end
gr_set_textcolor(color) gr_set_textcolor(plot_color(color))
GR.settextalign(gr_halign(halign), gr_valign(valign)) GR.settextalign(gr_halign(halign), gr_valign(valign))
end end