mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-29 17:54:59 +01:00
Adapt image picking to transform box click output
This commit is contained in:
1 parent
373127b0ae
commit
3ebcff9c4c
1 file changed
+1
-1
@@ -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)| {
|
||||
|
||||
Reference in new issue
Block a user