From 2f7b71ba2196bc652816db43b1b3cbdac28d612b Mon Sep 17 00:00:00 2001 From: ArsenArsen Date: Wed, 28 Jun 2017 22:31:12 +0200 Subject: [PATCH] Make the magnifier inside borders thinner --- cropeditor/cropscene.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cropeditor/cropscene.cpp b/cropeditor/cropscene.cpp index c19eb91..aa68c63 100644 --- a/cropeditor/cropscene.cpp +++ b/cropeditor/cropscene.cpp @@ -272,8 +272,8 @@ void CropScene::initMagnifierGrid() { int pixCnt = settings::settings().value("magnifierPixelCount", 11).toInt(); if (pixCnt % 2 == 0) pixCnt++; for (int i = 0; i < pixCnt; i++) { - auto gridRectX = addRect(0, i * 110. / pixCnt, 110, 110. / pixCnt, QPen(Qt::black)); - auto gridRectY = addRect(i * 110. / pixCnt, 0, 110. / pixCnt, 110, QPen(Qt::black)); + auto gridRectX = addRect(0, i * 110. / pixCnt, 110, 110. / pixCnt, QPen(Qt::black, 0.5)); + auto gridRectY = addRect(i * 110. / pixCnt, 0, 110. / pixCnt, 110, QPen(Qt::black, 0.5)); gridRectX->setParentItem(magnifierBox); gridRectY->setParentItem(magnifierBox); gridRectX->setZValue(1);