diff --git a/src/ui/playbar.vala b/src/ui/playbar.vala index 0372a37..16d33ab 100644 --- a/src/ui/playbar.vala +++ b/src/ui/playbar.vala @@ -12,7 +12,9 @@ class Ui.Playbar : Gtk.Box { } [GtkCallback] private bool on_play_position_seek (Gtk.Range range, Gtk.ScrollType scroll_type, double value) { - this.playbin.seek ((int64) value); + if (range.adjustment.lower < range.adjustment.upper) { + this.playbin.seek ((int64) value); + } return false; }