[tests] Add (partial) decorator tests
This commit is contained in:
parent
0a266b607e
commit
37e1deaa6f
2 changed files with 40 additions and 1 deletions
|
@ -17,7 +17,7 @@ def scrollable(func):
|
|||
direction = widget.get('scrolling.direction', 'right')
|
||||
start += scroll_speed if direction == 'right' else -(scroll_speed)
|
||||
|
||||
if width + start > len(text) + (scroll_speed -1):
|
||||
if width + start > len(text) + (scroll_speed - 1):
|
||||
if bounce:
|
||||
widget.set('scrolling.direction', 'left')
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue