26 lines
860 B
Diff
26 lines
860 B
Diff
From 9949bc701d108f68fbe1e3e16d753db5df98c61b Mon Sep 17 00:00:00 2001
|
|
From: peijiankang <peijiankang@kylinos.cn>
|
|
Date: Tue, 28 Jun 2022 17:05:35 +0800
|
|
Subject: [PATCH] change markertool opacity
|
|
|
|
---
|
|
src/tools/marker/markertool.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/tools/marker/markertool.cpp b/src/tools/marker/markertool.cpp
|
|
index 980833b..7c16d98 100755
|
|
--- a/src/tools/marker/markertool.cpp
|
|
+++ b/src/tools/marker/markertool.cpp
|
|
@@ -70,7 +70,7 @@ void MarkerTool::process(QPainter &painter, const QPixmap &pixmap, bool recordUn
|
|
updateBackup(pixmap);
|
|
}
|
|
painter.setCompositionMode(QPainter::CompositionMode_Multiply);
|
|
- painter.setOpacity(0.35);
|
|
+ painter.setOpacity(0.5);
|
|
painter.setPen(QPen(m_color, m_thickness));
|
|
painter.drawLine(m_points.first, m_points.second);
|
|
}
|
|
--
|
|
2.33.0
|
|
|