summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Scroll.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Scroll.cxx b/src/Fl_Scroll.cxx
index 769f88728..e11ad4cb1 100644
--- a/src/Fl_Scroll.cxx
+++ b/src/Fl_Scroll.cxx
@@ -350,6 +350,7 @@ void Fl_Scroll::draw() {
uchar d = damage();
+ // See: https://github.com/fltk/fltk/issues/1149#issuecomment-2511135611
float scale = Fl_Surface_Device::surface()->driver()->scale();
if ((d & FL_DAMAGE_ALL) || scale != int(scale)) { // full redraw
draw_box(box(),x(),y(),w(),h(),color());