mirror of
https://github.com/fltk/fltk.git
synced 2026-05-27 10:57:58 +08:00
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:
@@ -432,7 +432,7 @@ void Fl_Screen_Driver::transient_scale_display(float f, int nscreen)
|
|||||||
b->copy_label(str);
|
b->copy_label(str);
|
||||||
b->labelfont(FL_TIMES_BOLD);
|
b->labelfont(FL_TIMES_BOLD);
|
||||||
b->labelsize(Fl_Fontsize(30 * s / d->scale(nscreen)));
|
b->labelsize(Fl_Fontsize(30 * s / d->scale(nscreen)));
|
||||||
b->labelcolor(FL_BLACK);
|
b->labelcolor(Fl_Tooltip::textcolor());
|
||||||
b->color(Fl_Tooltip::color());
|
b->color(Fl_Tooltip::color());
|
||||||
win->end();
|
win->end();
|
||||||
win->shape(img);
|
win->shape(img);
|
||||||
|
|||||||
Reference in New Issue
Block a user