Skip to content

Commit 201542f

Browse files
committed
macosx: Fix timer interval value in ScrollingClipView
1/6 will evaluate to 0, making the timer choose a very low interval instead of 0.
1 parent 55a093d commit 201542f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/gui/macosx/VLCScrollingClipView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ @implementation VLCScrollingClipView {
3131
- (void)startScrolling {
3232
// Start our timer unless running
3333
if (!scrollTimer) {
34-
scrollTimer = [NSTimer scheduledTimerWithTimeInterval: 1/6
34+
scrollTimer = [NSTimer scheduledTimerWithTimeInterval:0.025
3535
target:self
3636
selector:@selector(scrollTick:)
3737
userInfo:nil

0 commit comments

Comments
 (0)