mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-26 02:37:17 +00:00
Adapt image picking to transform box click output
This commit is contained in:
@@ -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