diff layer/SliceLayer.cpp @ 1401:28075cc658c9

Scale pen for retina display on macOS as well as for hidpi display elsewhere
author Chris Cannam
date Thu, 15 Nov 2018 14:04:32 +0000
parents decb7741d036
children 10e768adaee5
line wrap: on
line diff
--- a/layer/SliceLayer.cpp	Thu Nov 15 13:06:38 2018 +0000
+++ b/layer/SliceLayer.cpp	Thu Nov 15 14:04:32 2018 +0000
@@ -457,7 +457,7 @@
         // thinner pen
         QPen pen;
         if (mh < 10000) {
-            pen = PaintAssistant::scalePen(QPen(getBaseQColor(), 0.8));
+            pen = v->scalePen(QPen(getBaseQColor(), 0.8));
         } else {
             pen = QPen(getBaseQColor(), 1);
         }