diff options
| author | Greg Ercolano <erco@seriss.com> | 2012-11-13 21:29:12 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2012-11-13 21:29:12 +0000 |
| commit | 272514cebfe9845f9a96ea065e97ffff68212e0f (patch) | |
| tree | 28ee4f331f402fd2a06f8a2a2b43c651d18f1318 /src | |
| parent | 674b2475b942acdea069306ca9b8d1382bad1882 (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Browser_.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Fl_Browser_.cxx b/src/Fl_Browser_.cxx index f4a729d6e..0b6cac865 100644 --- a/src/Fl_Browser_.cxx +++ b/src/Fl_Browser_.cxx @@ -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: |
