You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
You have errors in positioning slider.
I mean that self.center returns center of view in superview, and you using it wrong. For center of view you should use this point:
CGPointMake(self.center.x, self.frame.size.height / 2);
Than you have trouble when thumbs liying on each other, then you cannot change value (for example, bring them both to right - you will unable to move)
The text was updated successfully, but these errors were encountered:
Thanks for pointing this out. I was admittedly quite new at iOS when I first wrote it. Feel free to create a pull request to fix any positioning issues, it would be much appreciated!
Hello.
You have errors in positioning slider.
I mean that self.center returns center of view in superview, and you using it wrong. For center of view you should use this point:
CGPointMake(self.center.x, self.frame.size.height / 2);
Than you have trouble when thumbs liying on each other, then you cannot change value (for example, bring them both to right - you will unable to move)
The text was updated successfully, but these errors were encountered: