fixed 'SeekBar' when paused

This commit is contained in:
Martin Wagner 2020-03-28 13:35:35 +01:00
parent d025c2d9c2
commit 6723f9b31b

View File

@ -2248,6 +2248,8 @@ class SeekBar(Gtk.Box):
self.jumped=False self.jumped=False
self.scale.set_has_origin(True) self.scale.set_has_origin(True)
self.update=True self.update=True
if self.timeout_id == None:
self.refresh()
def on_change_value(self, range, scroll, value): #value is inaccurate def on_change_value(self, range, scroll, value): #value is inaccurate
if scroll == Gtk.ScrollType.STEP_BACKWARD: if scroll == Gtk.ScrollType.STEP_BACKWARD: