Skip to content

Center button to last line in text view #69

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

Merged
merged 1 commit into from
Jul 29, 2018
Merged

Conversation

rnystrom
Copy link
Member

No description provided.

@rnystrom rnystrom merged commit ca6935c into master Jul 29, 2018
@rnystrom rnystrom deleted the center-button-last-line branch July 29, 2018 16:35
@lohenyumnam
Copy link

This changes seems to introduce a bug in which the button is push down as shown in the image below,
image

This line.
let buttonYStarter = textViewMaxY - textViewInset.bottom - (pointSize - descender)/2
when replace with this line fix the bug
let buttonYStarter = textViewMaxY - textViewInset.bottom - pointSize

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

Successfully merging this pull request may close these issues.

2 participants