STR 3408: Fl_Scroll draws background inactive if needed

This commit is contained in:
Matthias Melcher 2023-01-20 13:51:17 +01:00
parent f4620329f1
commit ab5cc5866d

View File

@ -177,7 +177,10 @@ void Fl_Scroll::draw_clip(void* v,int X, int Y, int W, int H) {
}
default :
if (s->active_r())
fl_color(s->color());
else
fl_color(fl_inactive(s->color()));
fl_rectf(X,Y,W,H);
break;
}