FL/Fl_Scalepack: Don't draw background when box is FL_NO_BOX.
This commit is contained in:
parent
5ffe3d44b3
commit
781ec66510
|
@ -72,10 +72,7 @@ Fl_Scalepack::draw ( void )
|
||||||
|
|
||||||
if ( damage() & FL_DAMAGE_ALL )
|
if ( damage() & FL_DAMAGE_ALL )
|
||||||
{
|
{
|
||||||
if ( box() == FL_NO_BOX )
|
draw_box();
|
||||||
fl_rectf( x(), y(), w(), h(), FL_BACKGROUND_COLOR );
|
|
||||||
else
|
|
||||||
draw_box();
|
|
||||||
|
|
||||||
draw_label();
|
draw_label();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue