summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-12-02 19:10:20 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-12-02 19:10:20 +0100
commit8f8533c9e8d801cbe3d80c73b5efb0dfc58973c2 (patch)
tree004b0e6c899666bcdffea0c7d2d88c4ab604130c /src
parent981aa8c2e7b519accfb42c9690dd04fb404122c5 (diff)
Add comment linking source code to related information in issue #1149
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());