Skip to content

Use SwiftUI's own inspector column again instead of reverting it - #1474

Merged
dylanplayer merged 1 commit into
mainfrom
codevisor/amla
Nov 25, 2026
Merged

dylanplayer merged 1 commit into
mainfrom
codevisor/amla

Conversation

@dylanplayer

Copy link
Copy Markdown
Member

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

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]>
@dylanplayer
dylanplayer merged commit 63e6301 into main Nov 25, 2026
@dylanplayer
dylanplayer deleted the codevisor/amla branch November 25, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant