Improve check mark visibility for small sizes

This looks a little better and more like FLTK 1.3
This commit is contained in:
Albrecht Schlosser 2022-07-27 20:20:33 +02:00
parent 15bbfeb975
commit 29a3062b02

View File

@ -537,7 +537,7 @@ void fl_draw_check(Fl_Rect bb, Fl_Color col) {
d2 = 4;
}
// reduce line height (width) for small sizes
if (d1 < 4)
if (d1 < 3)
lh = 2;
tw = d1 + d2 + 1; // total width