Cava: fix activation logic due to new panel structure.

This commit is contained in:
ItsLemmy
2025-11-13 08:43:02 -05:00
parent 04439699ae
commit 205e73e8e8
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -15,8 +15,6 @@ import qs.Services.UI
Item {
id: root
// PUBLIC API - unchanged for backward compatibility
// Screen property provided by MainScreen
property ShellScreen screen: null
+1 -1
View File
@@ -16,7 +16,7 @@ Singleton {
* - LockScreen is opened
* - A control center is open
*/
property bool shouldRun: BarService.hasAudioVisualizer || PanelService.lockScreen?.active || (PanelService.openedPanel && PanelService.openedPanel.objectName.startsWith("controlCenterPanel"))
property bool shouldRun: BarService.hasAudioVisualizer || PanelService.lockScreen?.active || (PanelService.openedPanel && PanelService.openedPanel.panelWrapper.objectName.startsWith("controlCenterPanel"))
property var values: Array(barsCount).fill(0)
property int barsCount: 32