mirror of
https://github.com/fltk/fltk.git
synced 2026-05-31 22:04:26 +08:00
Add comment linking source code to related information in issue #1149
This commit is contained in:
@@ -350,6 +350,7 @@ void Fl_Scroll::draw() {
|
|||||||
|
|
||||||
uchar d = damage();
|
uchar d = damage();
|
||||||
|
|
||||||
|
// See: https://github.com/fltk/fltk/issues/1149#issuecomment-2511135611
|
||||||
float scale = Fl_Surface_Device::surface()->driver()->scale();
|
float scale = Fl_Surface_Device::surface()->driver()->scale();
|
||||||
if ((d & FL_DAMAGE_ALL) || scale != int(scale)) { // full redraw
|
if ((d & FL_DAMAGE_ALL) || scale != int(scale)) { // full redraw
|
||||||
draw_box(box(),x(),y(),w(),h(),color());
|
draw_box(box(),x(),y(),w(),h(),color());
|
||||||
|
|||||||
Reference in New Issue
Block a user