Repository navigation
Use SwiftUI's own inspector column again instead of reverting it - #1474
Merged
Merged
Conversation
Grabbing the right edge of the window opened the inspector and snapped it shut again, even without moving the mouse: SavedInspector treated the column reporting itself open as unrequested and forced it closed. The inspector binding is back to the plain .inspector(isPresented:) it used before #1450, so the column opens, closes, and is dragged the way macOS does it, and whatever it reports is saved. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Grabbing the right edge of the window opened the macOS inspector and snapped it shut again, even without moving the mouse. SavedInspector (#1450) treated the column reporting itself open as unrequested and forced it closed.
This removes SavedInspector and goes back to the plain
.inspector(isPresented:)binding, so the column behaves the way macOS does it and whatever it reports is saved.Trade-off: the case #1450 fixed (the inspector opening on its own, e.g. while the pane menu is open to close a split) may come back.
Tophat: on the macOS dev app, the toolbar toggle opens and closes the inspector and it stays put; dragging the divider closed saves it closed. A synthetic edge press left it closed; synthetic edge drags resized the window instead, so the exact edge-grab trigger was not reproduced.
🤖 Generated with Claude Code