From 8f8533c9e8d801cbe3d80c73b5efb0dfc58973c2 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 2 Dec 2024 19:10:20 +0100 Subject: Add comment linking source code to related information in issue #1149 --- src/Fl_Scroll.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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()); -- cgit v1.2.3