Fixes for Manolo's reopen of STR#2886.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9737 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano
2012-12-05 17:17:31 +00:00
parent 598e2cb63b
commit 384532c5c2
+4 -4
View File
@@ -434,15 +434,15 @@ J1:
full_width_ = full_width();
if ((has_scrollbar_ & VERTICAL) &&
((has_scrollbar_ & ALWAYS_ON) || position_ || full_height_>H)) {
if (!scrollbar.visible()) { damage(FL_DAMAGE_ALL); goto J1; }
if (!scrollbar.visible()) { damage(FL_DAMAGE_ALL); fl_pop_clip(); goto J1; }
} else {
if (scrollbar.visible()) { damage(FL_DAMAGE_ALL); goto J1; }
if (scrollbar.visible()) { damage(FL_DAMAGE_ALL); fl_pop_clip(); goto J1; }
}
if ((has_scrollbar_ & HORIZONTAL) &&
((has_scrollbar_ & ALWAYS_ON) || hposition_ || full_width_>W)) {
if (!hscrollbar.visible()) { damage(FL_DAMAGE_ALL); goto J1; }
if (!hscrollbar.visible()) { damage(FL_DAMAGE_ALL); fl_pop_clip(); goto J1; }
} else {
if (hscrollbar.visible()) { damage(FL_DAMAGE_ALL); goto J1; }
if (hscrollbar.visible()) { damage(FL_DAMAGE_ALL); fl_pop_clip(); goto J1; }
}
}