From 15a49726b55d33838c16350eb97527f9bb7fc630 Mon Sep 17 00:00:00 2001 From: Damocles Date: Fri, 17 Apr 2026 21:51:20 +0200 Subject: [PATCH] fix HexWaveBackground: onRunningChanged resolves to ShaderEffect, use Connections --- shell/modules/content/HexWaveBackground.qml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/shell/modules/content/HexWaveBackground.qml b/shell/modules/content/HexWaveBackground.qml index b8ccaed..a840acc 100644 --- a/shell/modules/content/HexWaveBackground.qml +++ b/shell/modules/content/HexWaveBackground.qml @@ -28,11 +28,13 @@ Item { property color uC1: M.Theme.base0E property color uC2: M.Theme.base09 - // Reset animations when stopped - onRunningChanged: { - if (!root.running) { - fx.uWavePhase = -200; - fx.uBreath = 0; + Connections { + target: root + function onRunningChanged() { + if (!root.running) { + fx.uWavePhase = -200; + fx.uBreath = 0; + } } }