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]