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

Take clearButton into account in editingRect #148

Merged
merged 1 commit into from
Jul 4, 2017
Merged

Conversation

k0nserv
Copy link
Contributor

@k0nserv k0nserv commented Jun 13, 2017

Resolves #147

@k0nserv k0nserv requested a review from bogren June 13, 2017 13:17
Copy link
Contributor

@bogren bogren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. Though mixing rect of super with own bounds?

x: superRect.origin.x,
y: titleHeight,
width: superRect.size.width,
height: bounds.size.height - titleHeight - selectedLineHeight
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suppose this should be superRect.size.height instead of bounds.size.height

@k0nserv
Copy link
Contributor Author

k0nserv commented Jun 14, 2017

Yeah I suppose we should take all values from superRect?

@bogren
Copy link
Contributor

bogren commented Jun 14, 2017

Yes I think that would be better :)

@k0nserv
Copy link
Contributor Author

k0nserv commented Jun 21, 2017

Done

@k0nserv
Copy link
Contributor Author

k0nserv commented Jul 4, 2017

@bogren Does this look good now?

@k0nserv k0nserv merged commit 2c26b4d into master Jul 4, 2017
@k0nserv k0nserv deleted the editing-react-clear branch July 4, 2017 08:46
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

Successfully merging this pull request may close these issues.

None yet

2 participants