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