We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 391e451 commit c59c922Copy full SHA for c59c922
Classes/ProgressViews/M13ProgressViewLetterpress.m
@@ -231,7 +231,7 @@ - (void)rotateWithDisplayLink:(CADisplayLink *)displayLink
231
[view setTransform:CGAffineTransformMakeRotation(rotation * M_PI / 180)];
232
233
//If we are slowing down, animate to a new angle.
234
- if (fabsf(velocity) < 1) {
+ if (fabs(velocity) < 1) {
235
restRotation += (arc4random() & 2 ? 90 : -90);
236
}
237
0 commit comments