LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
LR-CROP-STRAIGHTEN: document the Angle field and the ⌘ crosshair
Nathaniel Ledfordea1939fb48ae
diff --git a/docs/parity.md b/docs/parity.mdindex fd36825da..b41cb8ecb 100644--- a/docs/parity.md+++ b/docs/parity.md@@ -309,7 +309,7 @@ under the UI command that wraps it (a no-op error); the UI command now wins.|---|---|---|---|---|---|| LR-CROP-RECT | Crop rectangle | P0 | ✅ | `cmd:crop.set`, `cmd:crop.drag`, `crates/geom/src/crop_drag.rs`, `crates/ui-egui/src/panels/detail.rs` | double-click inside the box applies the crop (like Return) || LR-CROP-ASPECT | Aspect ratios | P0 | ✅ | `cmd:crop.aspect`, `cmd:crop.rotateAspect`, `crates/ui-egui/src/panels/right.rs` | menu with presets + custom W × H, visible Lock toggle (also A), button names the active ratio; every handle honours the lock and the drag stops at the image edge instead of shifting the frame (issue #295); "Original" is the photo's own shape (no separate As Shot) |-| LR-CROP-STRAIGHTEN | Straighten tool | P0 | ✅ | `cmd:crop.straighten`, `cmd:crop.autoStraighten`, `crates/ui-egui/src/panels/detail.rs` (`rotate_cursor`, `angle_readout`), `crates/ui-egui/src/tests_crop_rotate.rs` | Straighten Tool button: drag along a horizon/vertical; double-click or Auto levels automatically. Dragging outside the crop box rotates it: there the pointer is a curved double arrow, and while rotating the angle shows next to it (issue #534); an exact angle is typed by clicking the Straighten value (its hover says so) |+| LR-CROP-STRAIGHTEN | Straighten tool | P0 | ✅ | `cmd:crop.straighten`, `cmd:crop.autoStraighten`, `crates/ui-egui/src/panels/detail.rs` (`rotate_cursor`, `angle_readout`), `crates/ui-egui/src/tests_crop_rotate.rs` | Straighten Tool button: drag along a horizon/vertical; double-click or Auto levels automatically. Dragging outside the crop box rotates it: there the pointer is a curved double arrow (with ⌘ held, the straighten crosshair), and while rotating the angle shows next to it, kept on the canvas (issue #534); an exact angle goes in the Angle field under Straighten (`cropAngleField`, a drag on it is one undo step) or by clicking the Straighten value (its hover says so) || LR-CROP-AUTO | Auto straighten | P1 | ✅ | `cmd:crop.autoStraighten` | crop-angle leveling from detected horizon/plumb lines (consensus required) || LR-CROP-ANGLE | Angle slider | P0 | ✅ | `ctl:crop.angle` | || LR-CROP-ROTATE90 | Rotate 90° | P0 | ✅ | `cmd:photo.rotateLeft`, `cmd:photo.rotateRight` | |diff --git a/docs/whats-new.md b/docs/whats-new.mdindex b822290f8..19c5fb03e 100644--- a/docs/whats-new.md+++ b/docs/whats-new.md@@ -9,8 +9,8 @@### Crop rotation- Outside the crop box, where dragging rotates the photo, the pointer is a curved double arrow, and the angle is shown- next to it while you rotate (issue #534). For an exact angle, click the Straighten value and type it; hovering any- slider's value now says it can be typed.+ next to it while you rotate (issue #534). For an exact angle, type it in the new Angle field under Straighten (or click+ the Straighten value); hovering any slider's value now says it can be typed.### Albums tree- Album folders fold with the same disclosure triangle as Local, By Date, Folders and Keywords.