mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Cava: missing files
This commit is contained in:
@@ -70,7 +70,7 @@ Item {
|
||||
readonly property string cavaComponentId: "bar:mediamini:" + root.screen.name + ":" + root.section + ":" + root.sectionWidgetIndex
|
||||
readonly property bool needsCava: root.showVisualizer && root.visualizerType !== "" && root.visualizerType !== "none"
|
||||
|
||||
onneedsCavaChanged: {
|
||||
onNeedsCavaChanged: {
|
||||
if (root.needsCava) {
|
||||
CavaService.registerComponent(root.cavaComponentId);
|
||||
} else {
|
||||
|
||||
@@ -25,7 +25,7 @@ DraggableDesktopWidget {
|
||||
visible: !isHidden
|
||||
|
||||
// CavaService registration for visualizer
|
||||
readonly property string cavaComponentId: "desktopmediaplayer:" + (widgetData.id || "default")
|
||||
readonly property string cavaComponentId: "desktopmediaplayer:" + (root.screen ? root.screen.name : "unknown")
|
||||
|
||||
onShouldShowVisualizerChanged: {
|
||||
if (root.shouldShowVisualizer) {
|
||||
|
||||
Reference in New Issue
Block a user