Merge commit '7fb3ec03e919a6d4a5c622f224c2277ace85c61f' into feature/swipeMenuBeginEvent

This commit is contained in:
Павел Круглов 2015-06-30 18:10:29 +03:00
commit c6c729bb52
2 changed files with 4 additions and 4 deletions

View File

@ -122,7 +122,7 @@
{
if (UIDeviceOrientationIsLandscape(orientation))
{
rect.origin.y = (orientation == UIDeviceOrientationLandscapeRight) ? location : location*-1;
rect.origin.y = (orientation == UIDeviceOrientationLandscapeRight) ? location*-1 : location;
}
else
{

View File

@ -537,7 +537,7 @@ static SlideNavigationController *singletonInstance;
if (UIDeviceOrientationIsLandscape(orientation))
{
rect.origin.x = 0;
rect.origin.y = (orientation == UIDeviceOrientationLandscapeRight) ? location : location*-1;
rect.origin.y = (orientation == UIDeviceOrientationLandscapeRight) ? location*-1 : location;
}
else
{
@ -621,8 +621,8 @@ static SlideNavigationController *singletonInstance;
if (UIDeviceOrientationIsLandscape(orientation))
{
return (orientation == UIDeviceOrientationLandscapeRight)
? rect.origin.y
: rect.origin.y*-1;
? rect.origin.y*-1
: rect.origin.y;
}
else
{