Permalink
Browse files

Fix for support landscape orientation

  • Loading branch information...
1 parent 6f975e0 commit d43ee046ba8a04edfc81b8618f5489ad79301746 @Remint Remint committed Dec 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/EPGLTransitionView.m
@@ -51,7 +51,7 @@ - (id)initWithView:(UIView*)view
{
if ((self = [super initWithFrame:view.frame])) {
maxTextureSize = 512;
- size = view.bounds.size;
+ size = UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation]) ? view.bounds.size : CGSizeMake(view.bounds.size.height, view.bounds.size.width);
//Retina support
CGFloat contentScale = view.contentScaleFactor;

0 comments on commit d43ee04

Please sign in to comment.