FL/Fl_Scalepack: Don't draw background when box is FL_NO_BOX.

This commit is contained in:
Jonathan Moore Liles 2012-11-29 23:36:28 -08:00
parent 5ffe3d44b3
commit 781ec66510
1 changed files with 1 additions and 4 deletions

View File

@ -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();