Files
photocraft/crates/ui-egui/tests
David MannandClaude Opus 5.5 89fa322a3c Crop: Esc and Enter go to an open options bar popup first (#7386) (#7388)
The shortcut pass runs before the panels are drawn, and its crop/polygon
branch consumed Esc and Enter even while an egui popup of the options bar
was open (the Ratio list, the overlay and gear menus): Esc cancelled the
crop and left the list open, Enter committed the crop beneath it. Skip the
branch while `egui::Popup::is_any_open` (kept in memory from the last
frame; `ctx.any_popup_open` only sees the current pass).

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 10:50:27 -04:00
..