mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-25 18:59:48 +00:00
a4b7054919
Every way into the page grid (toolbar, tool panel, page.organize, --organize, Create multiple) goes through DocView::open_organize, which drops a selection left from earlier that does not include the page being read and scrolls that page's cell into view, computed from the row so virtualized rows need not be laid out. Grid clicks navigate the document as Pages-panel clicks do, so the viewer no longer resets the current page from its scroll position when the grid closes. Regression: crates/ui-egui/tests/editing.rs::organize_opens_on_the_current_page (middle page, last page, reopening after a selection elsewhere). Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>