Make thin lines exactly 1 pixel wide

The setting of 0 (minimal possible width) was too thin for Mac Retina displays.

Fixes bug #10031.
This commit is contained in:
Jean-Marc Lasgouttes 2016-03-19 15:48:44 +01:00
parent e18f86a041
commit ecd7dee5ea

View File

@ -46,7 +46,7 @@ using namespace lyx::support;
namespace lyx { namespace lyx {
namespace frontend { namespace frontend {
const int Painter::thin_line = 0; const int Painter::thin_line = 1;
GuiPainter::GuiPainter(QPaintDevice * device, double pixel_ratio) GuiPainter::GuiPainter(QPaintDevice * device, double pixel_ratio)
: QPainter(device), Painter(pixel_ratio), : QPainter(device), Painter(pixel_ratio),