Open songjisj opened 8 years ago
Now MRProgress forces the provided custom view to be a square if using CustomMode, related code in manualLayoutSubviews in MRProgressOverlayView:
manualLayoutSubviews
modeViewFrame = CGRectMake(modePadding, y, innerViewWidth, innerViewWidth);
Could you use the height which the custom view provides? Suggested change like:
modeViewFrame = CGRectMake(modePadding, y, innerViewWidth, self.modeView.frame.size.height);
Thank you.
You're right. Using the provided height would make much more sense here. Are you eager to put together a PR for that? That would be welcome.
Now MRProgress forces the provided custom view to be a square if using CustomMode, related code in
manualLayoutSubviews
in MRProgressOverlayView:Could you use the height which the custom view provides? Suggested change like:
Thank you.