Commit 407d4ba7 authored by Marvin Scholz's avatar Marvin Scholz

macosx: Fix timer interval value in ScrollingClipView

1/6 will evaluate to 0, making the timer choose a very low interval
instead of 0.

(cherry picked from commit 201542ff)
Signed-off-by: Marvin Scholz's avatarMarvin Scholz <epirat07@gmail.com>
parent 3aecd92b
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
- (void)startScrolling { - (void)startScrolling {
// Start our timer unless running // Start our timer unless running
if (!scrollTimer) { if (!scrollTimer) {
scrollTimer = [NSTimer scheduledTimerWithTimeInterval: 1/6 scrollTimer = [NSTimer scheduledTimerWithTimeInterval:0.025
target:self target:self
selector:@selector(scrollTick:) selector:@selector(scrollTick:)
userInfo:nil userInfo:nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment