Skip to content

Commit

Permalink
Merge pull request #16 from bqlin/master
Browse files Browse the repository at this point in the history
fix progressView can not didmiss bug,fix issuce #8
  • Loading branch information
liufengting authored Sep 7, 2017
2 parents 8dc9236 + 6703412 commit aae41e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FTIndicator/FTProgressIndicator/FTProgressIndicator.m
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ - (void)startShowingProgressView
{
self.progressView.transform = CGAffineTransformScale(CGAffineTransformIdentity, 0.4, 0.4);
self.isDuringAnimation = YES;
self.isCurrentlyOnScreen = YES;
[UIView animateWithDuration:kFTProgressDefaultAnimationDuration
delay:0
usingSpringWithDamping:0.5
Expand All @@ -280,7 +281,6 @@ - (void)startShowingProgressView
if (!self.isCurrentlyOnScreen) {
[self startDismissTimer];
}
self.isCurrentlyOnScreen = YES;
}];
}

Expand Down

0 comments on commit aae41e7

Please sign in to comment.