Skip to content

Commit f5694bc

Browse files
author
Sam Fries
committed
Made time slider use optimized animation path
1 parent 0ee9322 commit f5694bc

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Packages/vcs/Lib/configurator.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -643,11 +643,8 @@ def stop_animating(self):
643643

644644
def set_animation_frame(self, value):
645645
value = int(value)
646-
self.canvas.animate.draw_frame(value)
646+
self.canvas.animate.draw_frame(value, allow_static=False, render_offscreen=False)
647647
return value
648-
def final_animation_frame(self, value):
649-
value = int(value)
650-
self.canvas.animate.draw_frame(value, allow_static = False, render_offscreen = False)
651648

652649
def set_background_red(self, value):
653650
_, g, b = self.canvas.backgroundcolor

0 commit comments

Comments
 (0)