From e9ea17736b29720b915a34ba90364b4a1d216852 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:32:50 +0100 Subject: Fix Drawing bugs on Windows at very large scales (#1144) - cont'd --- src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/drivers/GDI') diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx b/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx index a7825e821..bebe6d4e9 100644 --- a/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx +++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx @@ -266,6 +266,7 @@ void Fl_GDI_Graphics_Driver::scale(float f) { if (f != scale()) { size_ = 0; Fl_Graphics_Driver::scale(f); + color(FL_BLACK); line_style(FL_SOLID); // scale also default line width } } -- cgit v1.2.3