STR 3408: Fl_Scroll draws background inactive if needed
This commit is contained in:
parent
f4620329f1
commit
ab5cc5866d
@ -177,9 +177,12 @@ void Fl_Scroll::draw_clip(void* v,int X, int Y, int W, int H) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
default :
|
default :
|
||||||
|
if (s->active_r())
|
||||||
fl_color(s->color());
|
fl_color(s->color());
|
||||||
fl_rectf(X,Y,W,H);
|
else
|
||||||
break;
|
fl_color(fl_inactive(s->color()));
|
||||||
|
fl_rectf(X,Y,W,H);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
Fl_Widget*const* a = s->array();
|
Fl_Widget*const* a = s->array();
|
||||||
for (int i=s->children()-2; i--;) {
|
for (int i=s->children()-2; i--;) {
|
||||||
|
Loading…
Reference in New Issue
Block a user