Skip to content

Commit

Permalink
fixed rotation issue on iPads *rolls eyes*
Browse files Browse the repository at this point in the history
  • Loading branch information
insanj committed Aug 26, 2014
1 parent f2cf6ad commit 7ed4b22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions BlurBar.xm
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ static NSString *kBlurBarReloadSettingsNotification = @"BBReloadSettingsNotifica
CGFloat blurSize = [settings[@"blurSize"] floatValue];

CGRect statusFrame = [UIApplication sharedApplication].statusBar.frame;
if (UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation)) {
/*if (UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation)) {
CGFloat height = statusFrame.size.height;
statusFrame.size.height = statusFrame.size.width;
statusFrame.size.width = height;
}
}*/

statusFrame.origin.x = 0.0;
statusFrame.size.height *= (blurSize > 0.0 ? blurSize : 1.0);
Expand Down
2 changes: 1 addition & 1 deletion control
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: com.insanj.blurbar
Name: BlurBar
Pre-Depends: firmware (>= 7.0)
Depends: mobilesubstrate
Version: 1.2
Version: 1.2.1
Architecture: iphoneos-arm
Description: Blur status bar on homescreen.
Maintainer: Julian Weiss <insanjmail@gmail.com>
Expand Down

0 comments on commit 7ed4b22

Please sign in to comment.