Fix textcolor of transient scale display (#756)

Make background color and text (label) color of the transient scale
display consistent with tooltip colors.
This commit is contained in:
Albrecht Schlosser 2023-07-19 16:17:51 +02:00
parent aeedd18316
commit 9ee8cdc727

View File

@ -432,7 +432,7 @@ void Fl_Screen_Driver::transient_scale_display(float f, int nscreen)
b->copy_label(str);
b->labelfont(FL_TIMES_BOLD);
b->labelsize(Fl_Fontsize(30 * s / d->scale(nscreen)));
b->labelcolor(FL_BLACK);
b->labelcolor(Fl_Tooltip::textcolor());
b->color(Fl_Tooltip::color());
win->end();
win->shape(img);