Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Match the hud frame (not bounds) to the superview bounds.

  • Loading branch information...
commit 8e0aed0409ef406a64a99f0cf5b76be4187263c3 1 parent 7c8ef3d
@matej matej authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  MBProgressHUD.m
View
2  MBProgressHUD.m
@@ -715,7 +715,7 @@ - (void)deviceOrientationDidChange:(NSNotification *)notification {
} else if ([superview isKindOfClass:[UIWindow class]]) {
[self setTransformForCurrentOrientation:YES];
} else {
- self.bounds = self.superview.bounds;
+ self.frame = self.superview.bounds;
[self setNeedsDisplay];
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.