diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-03-29 18:13:21 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-03-29 18:13:21 +1100 |
| commit | 977a59afb32553c0990a3964404652e9606428dc (patch) | |
| tree | d98dc8ba56cc107c73e45e492f485e53b7c108d1 /src/modules/sidebar/dashboard.tsx | |
| parent | monitors: fix ddc detection (diff) | |
| download | caelestia-shell-977a59afb32553c0990a3964404652e9606428dc.tar.gz caelestia-shell-977a59afb32553c0990a3964404652e9606428dc.tar.bz2 caelestia-shell-977a59afb32553c0990a3964404652e9606428dc.zip | |
sidebar: allow seeking
Diffstat (limited to 'src/modules/sidebar/dashboard.tsx')
| -rw-r--r-- | src/modules/sidebar/dashboard.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/sidebar/dashboard.tsx b/src/modules/sidebar/dashboard.tsx index c38d584..bad4695 100644 --- a/src/modules/sidebar/dashboard.tsx +++ b/src/modules/sidebar/dashboard.tsx @@ -108,7 +108,7 @@ const Media = ({ player }: { player: AstalMpris.Player | null }) => { label="" /> </box> - <Slider value={bind(position)} /> + <Slider value={bind(position)} onChange={(_, v) => player?.set_position(v * player.length)} /> <box className="time"> <label label={player ? bind(player, "position").as(lengthStr) : "-1:-1"} /> <box hexpand /> |