Closed
Description
Description
In ViewCommands, the Show/Hide state of Hide Utility Area button text is tied to the inspector instead of the utility area.
Button("\(inspectorCollapsed ? "Show" : "Hide") Utility Area")
To Reproduce
- Click View in the Menu Bar
- Click Hide Inspector
- Exit the window (required because of 🐞 Menu Bar Items Not Updating #1684)
- Reenter the window
- Click on View in menu bar
- Notice that the 'Hide Utility Area' button now says 'Show Utility Area'
- Click 'Show Utility Area'
- Exit and reenter the window
- Click on View in menu bar
- Notice the button still says 'Show Utility Area'
Expected Behavior
Hide Utility Area changes to Show Utility Area only when the Utility Area's state changes, not the inspector
Version Information
CodeEdit: 0.1.0-dev (38)
macOS: 14.4.1
Additional Context
No response
Screenshots
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🏁 Complete