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

bugfix: include vertical margin with height calculations #448

Conversation

rharriso
Copy link
Contributor

No description provided.

@rharriso rharriso changed the title include vertical margin with height calculations bugfix: include vertical margin with height calculations May 18, 2016
el.resizable('option', 'minWidth', cellWidth * (node.minWidth || 1));
el.resizable('option', 'minHeight', strictCellHeight * (node.minHeight || 1));
el.resizable('option', 'minWidth', Math.ceil(cellWidth * (node.minWidth || 1)));
el.resizable('option', 'minHeight', Math.ceil(Math.strictCellHeight * (node.minHeight || 1)));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Rounding as late as possible means losing as little info as possible with longer grids

@coveralls
Copy link

Coverage Status

Coverage increased (+0.08%) to 72.331% when pulling 011aaf2 on rharriso:bugfix/include-verticalMargin-with-calculations into 99653bd on troolee:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 72.252% when pulling 25bb6cf on rharriso:bugfix/include-verticalMargin-with-calculations into 99653bd on troolee:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.08%) to 72.331% when pulling c51fcdc on rharriso:bugfix/include-verticalMargin-with-calculations into 99653bd on troolee:master.

@rharriso rharriso closed this Oct 4, 2016
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.

2 participants