mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-29 10:42:03 +01:00
* Crop tool: New / Delete Crop Preset saves and removes user presets (#1919) The Crop options-bar dropdown ends with New Crop Preset... and Delete Crop Preset..., as in Photoshop. A crop preset is a "crop" tool preset (tool.presets.*, persisted with the preferences), so it also shows in the Tool Presets panel. New saves W x H x Resolution (W, H, resolution and unit) or a ratio under a name made from the values; it is greyed out with nothing to save. Delete lists the saved crop presets for a multi-select; built-in size presets stay. The dropdown shows the preset the fields hold. Engine: tool preset names are checked (1-255 chars) and the store capped; saved tool presets load entry by entry so a damaged one is skipped; a multi-name delete is all or nothing. ui.dialog.open gains newCropPreset / deleteCropPreset. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * Regenerate the scorecard after rebasing onto main Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>