Skip to content

Commit

Permalink
Fix for pascalw#2, closes pascalw#2. Updated gitignore to exclude som…
Browse files Browse the repository at this point in the history
…e XCode 4 files.
  • Loading branch information
Pascal Widdershoven committed Mar 14, 2011
1 parent 8f4b499 commit bedc596
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Expand Up @@ -2,10 +2,12 @@
*.mode2v3 *.mode2v3
*.pbxuser *.pbxuser
build/ build/
project.xcworkspace/
xcuserdata/


# OS generated files # # OS generated files #
###################### ######################
.DS_Store? .DS_Store?
ehthumbs.db ehthumbs.db
Icon? Icon?
Thumbs.db Thumbs.db
6 changes: 5 additions & 1 deletion PDColoredProgressView.m
Expand Up @@ -115,7 +115,11 @@ - (void) moveProgress
{ {
self.progress = MIN(self.progress + 0.01, _targetProgress); 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 invalidate];
_progressTimer = nil; _progressTimer = nil;
Expand Down

0 comments on commit bedc596

Please sign in to comment.