Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

badge switches position #3

Open
roiholtzman opened this issue Jul 15, 2014 · 1 comment
Open

badge switches position #3

roiholtzman opened this issue Jul 15, 2014 · 1 comment

Comments

@roiholtzman
Copy link

I chose to put the badge on the top right corner with MGBadgePositionTopRight.
I update the badge when events are happening.
When I set the badge to a certain number it appears in the right position, and also when updating the number it also remains on the right position. But after setting the badge to 0 - which makes it disappear, and setting it later on to a number which isn't 0, makes the badge appear on the to left corner.
Do you know why?

@densa
Copy link

densa commented Aug 18, 2014

When badgeValue == 0 and _displayIfZero == NO it sets CGRectZero

self.frame = CGRectZero;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants