File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -307,7 +307,6 @@ - (void)setMainViewController:(UIViewController *)mainViewController animated:(B
307307
308308 incomingViewController.view .frame = self.containerView .bounds ;
309309
310-
311310 // Create default animation curve.
312311 UIViewAnimationOptions options = UIViewAnimationOptionCurveEaseInOut;
313312 switch (self.animationType ) {
@@ -318,9 +317,8 @@ - (void)setMainViewController:(UIViewController *)mainViewController animated:(B
318317 break ;
319318 }
320319 case TWTSideMenuAnimationTypeFadeIn:
321- incomingViewController.view .alpha = . 6 ;
320+ incomingViewController.view .alpha = 0 . 6f ;
322321 options = UIViewAnimationOptionCurveEaseOut;
323-
324322 break ;
325323 }
326324
@@ -331,7 +329,7 @@ - (void)setMainViewController:(UIViewController *)mainViewController animated:(B
331329 incomingViewController.view .transform = CGAffineTransformIdentity;
332330 break ;
333331 case TWTSideMenuAnimationTypeFadeIn:
334- incomingViewController.view .alpha = 1 ;
332+ incomingViewController.view .alpha = 1 . 0f ;
335333 default :
336334 break ;
337335 }
You can’t perform that action at this time.
0 commit comments