From 0c6010abea726c977e7d6384fe5bbf0b7e1accb2 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 20 Nov 2000 15:30:54 +0000 Subject: Fix for Fl_Scroll redrawing background. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Scroll.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Fl_Scroll.cxx b/src/Fl_Scroll.cxx index 5378bf3dd..7db14545a 100644 --- a/src/Fl_Scroll.cxx +++ b/src/Fl_Scroll.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Scroll.cxx,v 1.7.2.4 2000/08/12 08:42:12 spitzak Exp $" +// "$Id: Fl_Scroll.cxx,v 1.7.2.5 2000/11/20 15:30:54 easysw Exp $" // // Scroll widget for the Fast Light Tool Kit (FLTK). // @@ -43,7 +43,7 @@ void Fl_Scroll::draw_clip(void* v,int X, int Y, int W, int H) { fl_clip(X,Y,W,H); Fl_Scroll* s = (Fl_Scroll*)v; // erase background if there is a boxtype: - if (s->box() && !(s->damage()&FL_DAMAGE_ALL)) { + if (s->box()) { fl_color(s->color()); fl_rectf(X,Y,W,H); } @@ -249,5 +249,5 @@ int Fl_Scroll::handle(int event) { } // -// End of "$Id: Fl_Scroll.cxx,v 1.7.2.4 2000/08/12 08:42:12 spitzak Exp $". +// End of "$Id: Fl_Scroll.cxx,v 1.7.2.5 2000/11/20 15:30:54 easysw Exp $". // -- cgit v1.2.3