diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-09 16:31:02 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-09 16:31:02 +1000 |
| commit | 6ae1a8e811f72bda251f8718fb148fcb6853bcc4 (patch) | |
| tree | 4b4018628c9cc32a7f43a4a0d17b091eb852db2c /modules/dashboard/dash | |
| parent | nix: fix build error with libcava (#585) (diff) | |
| download | caelestia-shell-6ae1a8e811f72bda251f8718fb148fcb6853bcc4.tar.gz caelestia-shell-6ae1a8e811f72bda251f8718fb148fcb6853bcc4.tar.bz2 caelestia-shell-6ae1a8e811f72bda251f8718fb148fcb6853bcc4.zip | |
plugin/ac: not singleton
Also add nodeId prop
BeatTracker not singleton
Move BeatTracker and Cava to Audio service
Diffstat (limited to 'modules/dashboard/dash')
| -rw-r--r-- | modules/dashboard/dash/Media.qml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/dashboard/dash/Media.qml b/modules/dashboard/dash/Media.qml index f3fbdbe..d4cccc8 100644 --- a/modules/dashboard/dash/Media.qml +++ b/modules/dashboard/dash/Media.qml @@ -1,5 +1,4 @@ import qs.components -import qs.components.misc import qs.services import qs.config import qs.utils @@ -34,7 +33,7 @@ Item { } ServiceRef { - service: BeatTracker + service: Audio.beatTracker } Shape { @@ -214,7 +213,7 @@ Item { anchors.margins: Appearance.padding.large * 2 playing: Players.active?.isPlaying ?? false - speed: BeatTracker.bpm / 300 + speed: Audio.beatTracker.bpm / 300 source: Paths.absolutePath(Config.paths.mediaGif) asynchronous: true fillMode: AnimatedImage.PreserveAspectFit |