equal
deleted
inserted
replaced
34 return theScale; |
34 return theScale; |
35 } |
35 } |
36 |
36 |
37 -(CGRect) safeBounds { |
37 -(CGRect) safeBounds { |
38 CGRect original = [self bounds]; |
38 CGRect original = [self bounds]; |
39 if (IS_IPAD() && UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation])) |
39 if (IS_ON_PORTRAIT()) |
40 return original; |
40 return original; |
41 else |
41 else |
42 return CGRectMake(original.origin.x, original.origin.y, original.size.height, original.size.width); |
42 return CGRectMake(original.origin.x, original.origin.y, original.size.height, original.size.width); |
43 } |
43 } |
44 |
44 |