Conversation
A reset button beside each section's eye puts that section back to its defaults, its choices and midpoints included, leaving the others as they are. It's dimmed while the section is at its defaults; a hidden section shows again once reset, so the next change to it isn't made unseen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The problem today
To undo one Camera Raw section (say Effects: 17 settings across Texture, Clarity, Dehaze, Glow, Vignette and Grain) you double-click each slider one by one. Its choices, such as Glow and Vignette style, and midpoints like Vignette Midpoint or Grain Size, have no quick reset at all. The only other way is Cancel, which throws away every section.
What changes for the user
Each section header (Light, Color, Effects, Curve, Color Mixer, Color Grading, Detail, Optics, Geometry, Calibration) gets a small ↺ button next to its eye. It puts that section back to its defaults, choices and midpoints included, and leaves the others alone. It's dimmed while the section is already at its defaults. If the section was hidden with its eye, resetting shows it again, so the next change to it isn't made unseen.
How to try it
In the code
Document/CameraRawReset.swift: which settings belong to which section,CameraRawSettings.resetting(_:), and the session's reset.CameraRawControls: the button in each header.CameraRawResetTests(4 tests): each section resets without touching the others, and resetting every section gives new settings (so no setting is left out of a section).Tested on macOS 26.6 (Apple silicon): the full test suite passes. Not yet tried on macOS 27.
🤖 Generated with Claude Code