Skip to content

Commit acd43f5

Browse files
committed
Fixed bug in animation
It was setting animation to YES, regardless of the parameter value
1 parent 7281f3a commit acd43f5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Source/BarGraph/GKBar.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ - (void)setCornerRadius:(CGFloat)cornerRadius {
8282
- (void)setPercentage:(CGFloat)percentage animated:(BOOL)animated {
8383
self.animated = animated;
8484
self.percentage = percentage;
85-
self.animated = YES;
8685
}
8786

8887
- (void)setPercentage:(CGFloat)percentage {

0 commit comments

Comments
 (0)