Skip to content

Commit

Permalink
Use more reliable BOOLs to see if topViewHasFocus
Browse files Browse the repository at this point in the history
  • Loading branch information
enriquez committed Mar 23, 2012
1 parent ea5e2eb commit c446607
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ - (void)topDidReset

- (BOOL)topViewHasFocus
{
return self.topView.center.x == self.resettedCenter;
return !_underLeftShowing && !_underRightShowing && !_topViewIsOffScreen;
}

- (void)updateUnderLeftLayout
Expand Down

0 comments on commit c446607

Please sign in to comment.