mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
progress marks are floats, not doubles
This commit is contained in:
parent
c157c820bc
commit
3262566ab4
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue