Set slider to zero

This commit is contained in:
K1llM@n 2023-06-03 10:18:54 +03:00
parent f99e81924e
commit ee9406a17e

View File

@ -45,6 +45,7 @@ class PreviewWindow:
def init_slider(self, frames_count, change_handler):
self.frame_change = change_handler
self.frame_slider.configure(to=frames_count)
self.frame_slider.set(0)
def slider_changed(self, event):
self.frame_change(self.frame_slider.get())