MBProgressHUD
MBProgressHUD copied to clipboard
Fix behavior inconsistencies
Hi!
With this PR I fixed several behavior bugs and added a test for these cases.
They are:
- If you try to hide a hud without animation, the
alpha
value for thebackgroundView
will be equal to1.0
while it must be equal to0.0
- If you have a hud with an animation type set to
MBProgressHUDAnimationZoomIn
and you hide this hud animatedly, trying to show it non-animated will end up in having a transform applied to the hub as a result of animated hide which is undesirable behavior.
@matej Can you have a look at this PR?