summaryrefslogtreecommitdiff
path: root/src/controls/Styles/Base/StatusIndicatorStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles/Base/StatusIndicatorStyle.qml')
-rw-r--r--src/controls/Styles/Base/StatusIndicatorStyle.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Styles/Base/StatusIndicatorStyle.qml b/src/controls/Styles/Base/StatusIndicatorStyle.qml
index c12ab507..a334aa62 100644
--- a/src/controls/Styles/Base/StatusIndicatorStyle.qml
+++ b/src/controls/Styles/Base/StatusIndicatorStyle.qml
@@ -204,7 +204,7 @@ Style {
gradient.addColorStop(1.0, "transparent");
} else {
// Draw the radial shine.
- gradient = ctx.createRadialGradient(width / 2, height / 2, width * 0.25, width / 2, height / 2, width * 0.25);
+ gradient = ctx.createRadialGradient(width / 2, height / 2, 0, width / 2, height / 2, width * 0.5 /* (same as height) */);
gradient.addColorStop(0.0, Qt.lighter(baseColor, 1.4));
gradient.addColorStop(1.0, "transparent");
}