summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-07-19 16:17:51 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-07-19 16:17:51 +0200
commit9ee8cdc727e7c510c28b51318b953d82aa1dd936 (patch)
tree2246b8282fd9e7d68f4ecd2116d5d4690dcc5dba /src
parentaeedd1831611994bd51640159361af10c1b08264 (diff)
Fix textcolor of transient scale display (#756)
Make background color and text (label) color of the transient scale display consistent with tooltip colors.
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Screen_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Screen_Driver.cxx b/src/Fl_Screen_Driver.cxx
index 4d5e5e856..ad3143e17 100644
--- a/src/Fl_Screen_Driver.cxx
+++ b/src/Fl_Screen_Driver.cxx
@@ -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);