mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-07 12:13:10 +00:00
The Crop tool gets the reference application's contextual task bar: a small floating
bar centred 11 pt under the crop frame with a grip, the preset dropdown (the options
bar's own, so both stay in sync), Straighten, a ⋯ menu (Hide bar, Reset bar position,
Pin bar position) and, while a crop is pending, Cancel and Done. It follows the frame,
stays inside the canvas, and stays put once dragged or pinned. Window › Contextual Task
Bar (after Tools, as in the reference) shows and hides it.
The bar itself is a reusable widget (widgets/task_bar.rs): position rule, grip, ⋯ menu
and the hide/pin/place state in Panels (kept with the panel layout across restarts,
read by ui.inspect › taskBar, set by ui.set {panels}). A context supplies only its
controls and where ⋯ goes; the Crop contents are tools/crop_task_bar.rs. Generative
Expand stays out until #41.
Also: Lucide pin and rotate-ccw icons, six new strings in all 27 catalogues, parity
661/661 (FLOOR raised), control-protocol docs. Three tests about the options bar's
Ratio dropdown now hide the task bar, which shows the same dropdown.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
537 B
537 B
Photoshop menu parity
Generated by cargo xtask parity from crates/ui-egui/src/menu_catalog.rs (Photoshop's menu tree) and the live command registry. Do not edit by hand.
661 of 661 menu items live (100.0%).
| Menu | Live | Total | % |
|---|---|---|---|
| File | 52 | 52 | 100% |
| Edit | 75 | 75 | 100% |
| Image | 61 | 61 | 100% |
| Layer | 161 | 161 | 100% |
| Type | 74 | 74 | 100% |
| Select | 25 | 25 | 100% |
| Filter | 75 | 75 | 100% |
| View | 76 | 76 | 100% |
| Window | 62 | 62 | 100% |