progress marks are floats, not doubles

This commit is contained in:
Mitchell Livingston 2012-01-18 04:09:39 +00:00
parent c157c820bc
commit 3262566ab4
1 changed files with 1 additions and 1 deletions

View File

@ -842,7 +842,7 @@
NSMutableArray * progressMarks = [NSMutableArray arrayWithCapacity: 16];
for (NSAnimationProgress i = 0.0625; i <= 1.0; i += 0.0625)
[progressMarks addObject: [NSNumber numberWithDouble: i]];
[progressMarks addObject: [NSNumber numberWithFloat: i]];
fPiecesBarAnimation = [[NSAnimation alloc] initWithDuration: TOGGLE_PROGRESS_SECONDS animationCurve: NSAnimationEaseIn];
[fPiecesBarAnimation setAnimationBlockingMode: NSAnimationNonblocking];