mirror of
https://github.com/fltk/fltk.git
synced 2026-06-01 23:06:54 +08:00
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:
+4
-4
@@ -434,15 +434,15 @@ J1:
|
|||||||
full_width_ = full_width();
|
full_width_ = full_width();
|
||||||
if ((has_scrollbar_ & VERTICAL) &&
|
if ((has_scrollbar_ & VERTICAL) &&
|
||||||
((has_scrollbar_ & ALWAYS_ON) || position_ || full_height_>H)) {
|
((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 {
|
} 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) &&
|
if ((has_scrollbar_ & HORIZONTAL) &&
|
||||||
((has_scrollbar_ & ALWAYS_ON) || hposition_ || full_width_>W)) {
|
((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 {
|
} else {
|
||||||
if (hscrollbar.visible()) { damage(FL_DAMAGE_ALL); goto J1; }
|
if (hscrollbar.visible()) { damage(FL_DAMAGE_ALL); fl_pop_clip(); goto J1; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user