summaryrefslogtreecommitdiff
path: root/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-12-03 15:32:50 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-12-03 15:38:46 +0100
commite9ea17736b29720b915a34ba90364b4a1d216852 (patch)
tree4c7c14eb74f06c1962d80e8d6972015c5d5eef5e /src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx
parenta23445344370a5fb448a93bbc4a32c4e4fd65d81 (diff)
Fix Drawing bugs on Windows at very large scales (#1144) - cont'd
Diffstat (limited to 'src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx')
-rw-r--r--src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx1
1 files changed, 1 insertions, 0 deletions
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
}
}