quick refactor

gh-pages
somas95 2018-04-13 20:17:16 +02:00
parent 5c19d9fecd
commit 9166b89fea
1 changed files with 2 additions and 2 deletions

View File

@ -214,8 +214,8 @@ class UberwriterWindow(Window):
if self.smooth_scroll_data['target_pos'] == -1:
return True
def ease_out_cubic(t):
p = t - 1;
return p * p * p + 1;
p = t - 1
return p * p * p + 1
now = frame_clock.get_frame_time()
if self.smooth_scroll_acttarget != self.smooth_scroll_data['target_pos']: