Commit 201542ff 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.
parent 55a093d8
......@@ -31,7 +31,7 @@
- (void)startScrolling {
// Start our timer unless running
if (!scrollTimer) {
scrollTimer = [NSTimer scheduledTimerWithTimeInterval: 1/6
scrollTimer = [NSTimer scheduledTimerWithTimeInterval:0.025
target:self
selector:@selector(scrollTick:)
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