Set slider to zero
This commit is contained in:
parent
f99e81924e
commit
ee9406a17e
@ -45,6 +45,7 @@ class PreviewWindow:
|
|||||||
def init_slider(self, frames_count, change_handler):
|
def init_slider(self, frames_count, change_handler):
|
||||||
self.frame_change = change_handler
|
self.frame_change = change_handler
|
||||||
self.frame_slider.configure(to=frames_count)
|
self.frame_slider.configure(to=frames_count)
|
||||||
|
self.frame_slider.set(0)
|
||||||
|
|
||||||
def slider_changed(self, event):
|
def slider_changed(self, event):
|
||||||
self.frame_change(self.frame_slider.get())
|
self.frame_change(self.frame_slider.get())
|
||||||
|
Loading…
Reference in New Issue
Block a user