From 1d9318eb92375076cd5fdce1aaf0095c578afc2e Mon Sep 17 00:00:00 2001 From: Erica Z Date: Sun, 10 Nov 2024 17:21:04 +0100 Subject: [PATCH] fix --- src/ui/playbar.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/playbar.rs b/src/ui/playbar.rs index f22afdc..f178a8d 100644 --- a/src/ui/playbar.rs +++ b/src/ui/playbar.rs @@ -128,8 +128,9 @@ mod imp { if new_position > self.window().duration() { // just seek to the next track self.on_skip_forward_clicked(); + } else { + self.window().seek(new_position); } - self.window().seek(new_position); } #[template_callback]