mirror of
https://github.com/fltk/fltk.git
synced 2026-05-21 14:31:40 +08:00
Fix Fl_Scroll with real *_BOX draws over scrollbars at non-default scales (#1149)
This commit is contained in:
+1
-1
@@ -424,7 +424,7 @@ void Fl_Scroll::draw() {
|
||||
}
|
||||
|
||||
// draw the scrollbars:
|
||||
if (d & FL_DAMAGE_ALL) {
|
||||
if ((d & FL_DAMAGE_ALL) || scale != int(scale)) {
|
||||
draw_child(scrollbar);
|
||||
draw_child(hscrollbar);
|
||||
if (scrollbar.visible() && hscrollbar.visible()) {
|
||||
|
||||
Reference in New Issue
Block a user