-
Notifications
You must be signed in to change notification settings - Fork 686
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
Always reset boxes to allow for redefinition of grid #663
Conversation
Thanks for the patch. I will take a quick look at this before the 0.15.0 release and give some feedback when I do. |
The way I understand this is that you want to clear If that's the case, why are we clearing the |
You are right, that would make more sense |
Ok, so what this patch needs before it is merged is:
|
@traels: If you want to work on updating the patch that may help get it merged sooner, otherwise I'll work on this when I get a chance. |
Should i just add manual update to this pull request? kh
|
All of the above you can do directly on this pull request, yeah. Just add some additional commits. |
I see, you already moved the box clearing code. Yep, all we need is a manual and/or API doc update now! |
I'll go ahead and try this patch out today and document it if it's working as I'd expect. I'll be cutting the 0.15.0 release this afternoon and I'd like to include this patch if possible. |
Squashed commit of the following: commit 48e95b8 Author: Gregory Brown <gregory.t.brown@gmail.com> Date: Sun Feb 16 09:24:22 2014 -0500 Add some documentation about new Grid behavior commit 420bee9 Author: Simon T. Ravn <cs2@cs2.dk> Date: Fri Feb 14 16:07:37 2014 +0000 More logical way of resetting boxes commit 9ff499a Author: Simon T. Ravn <cs2@cs2.dk> Date: Sat Feb 8 16:18:16 2014 +0000 Always reset boxes to allow for redefinition of grid
Merged, thank you! |
@traels: Because your pull request was accepted, you now have commit access to all of prawnpdf's repositories. Please see the link below for contribution guidelines, and thanks again! https://github.com/prawnpdf/prawn/wiki/Contributor-welcome-notes |
A small change with a test to prove that it works for issue #492
This MIGHT have a small impact on speed as the thing screwing things up was a instance variable caching the boxes that a grid creates.