Permalink
Browse files

Fix for #2, closes #2. Updated gitignore to exclude some XCode 4 files.

  • Loading branch information...
1 parent 8f4b499 commit bedc596f767ee32cf1ff1c5ff09db69231cd45b5 @pascalw pascalw committed Mar 14, 2011
Showing with 8 additions and 2 deletions.
  1. +3 −1 .gitignore
  2. +5 −1 PDColoredProgressView.m
View
@@ -2,10 +2,12 @@
*.mode2v3
*.pbxuser
build/
+project.xcworkspace/
+xcuserdata/
# OS generated files #
######################
.DS_Store?
ehthumbs.db
Icon?
-Thumbs.db
+Thumbs.db
View
@@ -115,7 +115,11 @@ - (void) moveProgress
{
self.progress = MIN(self.progress + 0.01, _targetProgress);
}
- else
+ else if(self.progress > _targetProgress)
+ {
+ self.progress = MAX(self.progress - 0.01, _targetProgress);
+ }
+ else
{
[_progressTimer invalidate];
_progressTimer = nil;

0 comments on commit bedc596

Please sign in to comment.