Permalink
Browse files

Slide animation: fade previous month out while fading in the next mon…

…th. (thanks Daniel Gindi)
  • Loading branch information...
1 parent 469a4c5 commit d85cba035b00fb10e0ef0c3dd13583aac8d28cd3 @klazuka committed Sep 24, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/KalGridView.m
View
@@ -179,6 +179,9 @@ - (void)swapMonthsAndSlide:(int)direction keepOneRow:(BOOL)keepOneRow
frontMonthView.top = -backMonthView.top;
backMonthView.top = 0.f;
+
+ frontMonthView.alpha = 0.f;
+ backMonthView.alpha = 1.f;
self.height = backMonthView.height;

0 comments on commit d85cba0

Please sign in to comment.