Fix Fl_Scroll with real *_BOX draws over scrollbars at non-default scales (#1149)

This commit is contained in:
ManoloFLTK
2024-12-02 08:47:30 +01:00
parent 13bb611b4e
commit 557a5e4fd0
+1 -1
View File
@@ -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()) {