Skip to content

Commit 6b0e83f

Browse files
committed
fixed a bug with animation
fixed a bug with animation
1 parent 2faf366 commit 6b0e83f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

MPGraphView.m

+3-2
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ - (void)animate{
141141
[self.detailView removeFromSuperview];
142142

143143

144-
self.waitToUpdate=NO;
145144

146145
gradient.hidden=1;
147146

@@ -197,8 +196,10 @@ - (void)animate{
197196
}
198197

199198
- (void)animationDidStop:(CAAnimation *)theAnimation finished:(BOOL)flag{
200-
199+
200+
self.waitToUpdate=NO;
201201
gradient.hidden=0;
202+
202203
}
203204

204205

0 commit comments

Comments
 (0)