Adapt image picking to transform box click output

This commit is contained in:
Dylan M. Taylor
2026-11-20 11:15:03 -05:00
parent 373127b0ae
commit 3ebcff9c4c
@@ -334,7 +334,7 @@ fn box_controls(
_ => {}
}
}
if let Some(point) = shown.clicked {
if let Some((_, point)) = shown.clicked {
let at = view.to_screen(point);
let images = doc.page_images(page);
let hit = images.iter().enumerate().rposition(|(i, image)| {