From ecd7dee5eab9ac8d57433b2be6912941a807f93b Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Sat, 19 Mar 2016 15:48:44 +0100 Subject: [PATCH] Make thin lines exactly 1 pixel wide The setting of 0 (minimal possible width) was too thin for Mac Retina displays. Fixes bug #10031. --- src/frontends/qt4/GuiPainter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiPainter.cpp b/src/frontends/qt4/GuiPainter.cpp index 9204c73348..b67441b9b1 100644 --- a/src/frontends/qt4/GuiPainter.cpp +++ b/src/frontends/qt4/GuiPainter.cpp @@ -46,7 +46,7 @@ using namespace lyx::support; namespace lyx { namespace frontend { -const int Painter::thin_line = 0; +const int Painter::thin_line = 1; GuiPainter::GuiPainter(QPaintDevice * device, double pixel_ratio) : QPainter(device), Painter(pixel_ratio), -- 2.39.5