[ios] Fixed side buttons fade animation.

This commit is contained in:
Ilya Grechuhin 2016-06-06 13:53:35 +03:00 committed by Vladimir Byko-Ianko
parent 30976280cc
commit a95febcf5a

View file

@ -141,8 +141,7 @@ namespace
- (void)setShow:(BOOL)show
{
_show = show;
[NSObject cancelPreviousPerformRequestsWithTarget:self];
[self performSelector:@selector(fadeAnimated) withObject:self afterDelay:show ? 0.0 : framesDuration(kMenuViewMoveFramesCount)];
[self fadeAnimated];
}
@end