From 007798620135d7a322a0ba71ae1a99fafd35fbd8 Mon Sep 17 00:00:00 2001 From: Jeremy Hu Date: Sun, 18 Aug 2019 14:51:10 +0930 Subject: [PATCH] Adjust brush gradient fill factor --- src/mousepicker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mousepicker.cpp b/src/mousepicker.cpp index cb7199c7..6a965cf7 100644 --- a/src/mousepicker.cpp +++ b/src/mousepicker.cpp @@ -133,10 +133,10 @@ void MousePicker::paintToImage(const QUuid &partId, float x, float y, float radi { QRadialGradient gradient(destX, destY, destRadius / 2); if (inverted) { - gradient.setColorAt(0, QColor(0, 0, 0, 3)); + gradient.setColorAt(0, QColor(0, 0, 0, 2)); gradient.setColorAt(1, Qt::transparent); } else { - gradient.setColorAt(0, QColor(255, 255, 255, 3)); + gradient.setColorAt(0, QColor(255, 255, 255, 2)); gradient.setColorAt(1, Qt::transparent); } QBrush brush(gradient);