mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-24 10:27:44 -06:00
* #884: a dragged shape anchors in the column it lands in, so that column's text wraps around it arrange.bounds (the canvas drag) re-anchored a moved object to the paragraph under its top edge but ignored x: on a multi-column page it took the last paragraph starting above that y in any column, usually one in the last column. Layout places a float when it lays out its anchor, so text in an earlier column (already laid out) ran through a shape dropped there. anchor_paragraph now picks the paragraph in the column under the object's centre (the ink placement uses the first stroke point). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * #884: a dropped object finds its column from the section's column geometry Columns came from the distinct left edges of the page's text, so a paragraph shifted by mirrored indents on an even page made a column of its own and the drop anchored to the wrong paragraph. The columns now come from the section's column boxes on the page. Notes in the layout parity doc that lines a paragraph continues into the next column don't wrap yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Dmitrii Khlapov <19991457+dkhlapov@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>