diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-12-02 08:47:30 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-12-02 08:48:05 +0100 |
| commit | 557a5e4fd0e379817a54ea0c16b62d7bd4aa086a (patch) | |
| tree | 4a5dab791361f32d0fe715448400f4dbb64745a6 /src/Fl_Scroll.cxx | |
| parent | 13bb611b4efabae584f13af6c3531360263ceb7d (diff) | |
Fix Fl_Scroll with real *_BOX draws over scrollbars at non-default scales (#1149)
Diffstat (limited to 'src/Fl_Scroll.cxx')
| -rw-r--r-- | src/Fl_Scroll.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Scroll.cxx b/src/Fl_Scroll.cxx index e32c5bda5..769f88728 100644 --- a/src/Fl_Scroll.cxx +++ b/src/Fl_Scroll.cxx @@ -424,7 +424,7 @@ void Fl_Scroll::draw() { } // draw the scrollbars: - if (d & FL_DAMAGE_ALL) { + if ((d & FL_DAMAGE_ALL) || scale != int(scale)) { draw_child(scrollbar); draw_child(hscrollbar); if (scrollbar.visible() && hscrollbar.visible()) { |
