mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
e18f86a041
commit
ecd7dee5ea
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user