Skip to content

Resizable: account for padding & border in grids. #1305

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

Closed
wants to merge 1 commit into from

Conversation

mikesherov
Copy link
Member

No description provided.


for ( ; i < 4; i++ ) {
widths[ i ] = ( parseInt( borders[ i ], 10 ) || 0 );
widths[ i ] += ( parseInt( paddings[ i ], 10 ) || 0 );
Copy link
Member

Choose a reason for hiding this comment

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

not parseFloat()?

Copy link
Member Author

Choose a reason for hiding this comment

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

was following what was already there. This is an extracted method.

@tjvantoll
Copy link
Member

These interaction changes are so hard to review, but this looks good to me. I verified that it works.

@mikesherov
Copy link
Member Author

Thanks @tjvantoll!

@mikesherov mikesherov closed this Aug 5, 2014
@mikesherov mikesherov deleted the t10437 branch August 9, 2014 23:57
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.

3 participants