-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
how to center pulse behind image #17
Comments
|
I hope this was resolved. Thanks @marciliojrs for your support! |
I believe this should be centered by default as well, or at the very least customizable by the API. |
I added this line and it set the position correctly: pulsator.position = sourceView.layer.position That way I didn't need to override that method out just to correct the position, not sure if there is ramifications to this method for other use cases but it worked as well in my case and isolated my code to a single method. -- |
I've added the following code and that worked for me: There's also a center property available, so this works too: |
the pulse is on the top left of the image i can add it to the center of the image.
thank you in advance
The text was updated successfully, but these errors were encountered: