Add comment linking source code to related information in issue #1149

This commit is contained in:
ManoloFLTK
2024-12-02 19:10:20 +01:00
parent 981aa8c2e7
commit 8f8533c9e8
+1
View File
@@ -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());