Skip to content

Commit

Permalink
- Almost completely removed the UI glitch when sliding closed the pan…
Browse files Browse the repository at this point in the history
…el on iOS 7 with a large (40 point high) status bar
  • Loading branch information
einsteinx2 committed Oct 25, 2013
1 parent 274dbf1 commit 1bea8ab
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions JASidePanels/Source/JASidePanelController.m
Original file line number Diff line number Diff line change
Expand Up @@ -461,14 +461,8 @@ - (void)_unfreezeCenterPanel
// show it
[self setNeedsStatusBarAppearanceUpdate];

dispatch_queue_t q = dispatch_get_main_queue();

// 100ms from now
dispatch_time_t t = dispatch_time(DISPATCH_TIME_NOW, 100 * 1000 * 1000);

dispatch_after(t, q, ^() {
[screenShot removeFromSuperview];
});
// Remove the screenshot
[screenShot removeFromSuperview];
}
}

Expand Down

0 comments on commit 1bea8ab

Please sign in to comment.