mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-26 19:07:06 -06:00
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>