From 557a5e4fd0e379817a54ea0c16b62d7bd4aa086a Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 2 Dec 2024 08:47:30 +0100 Subject: Fix Fl_Scroll with real *_BOX draws over scrollbars at non-default scales (#1149) --- src/Fl_Scroll.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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()) { -- cgit v1.2.3