diff options
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 /> |