Skip to content

Resizable: modified resizable containment plugin to allow non immediate ... #1130

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 2 commits into from

Conversation

dekajp
Copy link
Contributor

@dekajp dekajp commented Nov 7, 2013

...child to grow upto container width. Fixes #7485 Resizable: Containment calculation is wrong when containment element is not the immediate parent


woset = Math.abs( (that._helper ? that.offset.left - cop.left : (that.offset.left - cop.left)) + that.sizeDiff.width );
woset = Math.abs( (that._helper ? that.offset.left - cop.left : (that.offset.left - co.left)) + that.sizeDiff.width );
Copy link
Member

Choose a reason for hiding this comment

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

Wow. Good catch! Anyway, there's a lot of spacing clean up around parens you have to do on this line.

@dekajp
Copy link
Contributor Author

dekajp commented Nov 7, 2013

@mikesherov ah !! i missed those parens .if you are ok with this commit . in next commit i am fixing parens for that containement plugin. i did not want to merge cleanup and bug fix toghther

…te child to grow upto container width. Fixes #7485 Resizable: Containment calculation is wrong when containment element is not the immediate parent
@mikesherov
Copy link
Member

LGTM, 👍 will land shortly!

@mikesherov
Copy link
Member

@dekajp I made some adjustments to your whitespace formatting here: bae1a25

Just take note of what I changed. Thanks again!

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