From 352a127909ec2cb9f867f83f00b87b377359542b Mon Sep 17 00:00:00 2001 From: Aryan Date: Fri, 28 Nov 2014 12:26:21 -0800 Subject: [PATCH] Fixed #89. Slide menu initially appears on the wrong side when using slide animation --- .../Source/Animations/SlideNavigationContorllerAnimatorSlide.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SlideMenu/Source/Animations/SlideNavigationContorllerAnimatorSlide.m b/SlideMenu/Source/Animations/SlideNavigationContorllerAnimatorSlide.m index 35439aa..9e2c0c3 100644 --- a/SlideMenu/Source/Animations/SlideNavigationContorllerAnimatorSlide.m +++ b/SlideMenu/Source/Animations/SlideNavigationContorllerAnimatorSlide.m @@ -63,7 +63,7 @@ if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"8.0")) { - rect.origin.x = self.slideMovement; + rect.origin.x = (menu == MenuLeft) ? self.slideMovement*-1 : self.slideMovement; } else {