Fixes STR#2886: prevents scrollbars from drawing
when widget is sized too small to be visible. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9720 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
674b2475b9
commit
272514cebf
@ -423,8 +423,9 @@ J1:
|
||||
fl_pop_clip();
|
||||
}
|
||||
fl_pop_clip();
|
||||
redraw1 = redraw2 = 0;
|
||||
|
||||
fl_push_clip(x(),y(),w(),h()); // STR# 2886
|
||||
redraw1 = redraw2 = 0;
|
||||
if (!dont_repeat) {
|
||||
dont_repeat = 1;
|
||||
// see if changes to full_height caused by calls to slow_height
|
||||
@ -474,6 +475,7 @@ J1:
|
||||
}
|
||||
|
||||
real_hposition_ = hposition_;
|
||||
fl_pop_clip();
|
||||
}
|
||||
|
||||
// Quick way to delete and reset everything:
|
||||
|
Loading…
Reference in New Issue
Block a user