From 8e3339693ddf38c34690e68422a3f12dc9907e59 Mon Sep 17 00:00:00 2001 From: Lasan Mahaliyana Date: Sat, 21 Mar 2026 14:40:17 +0530 Subject: [PATCH] added subtle blur effect to animated blob --- .../qml_tray_app/components/AnimatedBlob.qml | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/sharing/linux/qml_tray_app/components/AnimatedBlob.qml b/sharing/linux/qml_tray_app/components/AnimatedBlob.qml index 8a5e3c04..af2d48e2 100644 --- a/sharing/linux/qml_tray_app/components/AnimatedBlob.qml +++ b/sharing/linux/qml_tray_app/components/AnimatedBlob.qml @@ -1,6 +1,7 @@ import QtQuick import QtQuick.Controls import QtQuick.Layouts +import QtQuick.Effects Item { anchors.fill: parent @@ -52,9 +53,9 @@ Item { for (var i = 0; i < n; i++) { var a = (i / n) * Math.PI * 2 - Math.PI / 2 var r = 130 - + Math.sin(a * 2 + t) * 11 - + Math.cos(a * 3 - t * 0.6) * 8 - + Math.sin(a * 1.5 + t * 0.35) * 6 + + Math.sin(a * 2 + t) * 11 + + Math.cos(a * 3 - t * 0.6) * 8 + + Math.sin(a * 1.5 + t * 0.35) * 6 pts.push({ x: cx + Math.cos(a) * r, y: cy + Math.sin(a) * r }) } @@ -81,10 +82,17 @@ Item { } } - SendUrlPanel { + MultiEffect { anchors.centerIn: parent - width: parent.width - 96 - visible: isSendMode + width: blobCanvas.width + 10 + height: blobCanvas.height + 10 + source: blobCanvas + blurEnabled: true + blur: 1.0 + blurMax: 40 + saturation: 0.1 + brightness: 0.05 + autoPaddingEnabled: true } Label {