CodeEdit
CodeEdit copied to clipboard
🐞 Hide Utility Area Command tied to Inspector instead of Utility Area
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 #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