prawn icon indicating copy to clipboard operation
prawn copied to clipboard

float does not return to current column when called inside a column_box

Open mojavelinux opened this issue 2 years ago • 2 comments

When the float method is called inside a column box, it only restores the original page number and y, but not the current column. As a result, the ensuing content may be written to the wrong column.

mojavelinux avatar May 18 '22 20:05 mojavelinux

I will submit a PR to resolve this issue.

mojavelinux avatar May 18 '22 20:05 mojavelinux

We might want to consider promoting the current_column instance variable to an accessor. It might also be nice to make the columns readable, but that's not needed for this change.

mojavelinux avatar May 18 '22 20:05 mojavelinux