You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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")
### Description
<!--- REQUIRED: Describe what changed in detail -->
The issue is described in detail in #1684.
~I tried to resolve a related issue, #1696, but it was harder than I anticipated since the state of the Utility Area is stored separate to the other panes for some reason. Any ideas to resolve this slight issue would be welcome :)~
**EDIT:** I think I fixed it!
### Related Issues
<!--- REQUIRED: Tag all related issues (e.g. * #123) -->
<!--- If this PR resolves the issue please specify (e.g. * closes#123) -->
<!--- If this PR addresses multiple issues, these issues must be related to one other -->
* Closes#1684
* Closes#1696
### Checklist
<!--- Add things that are not yet implemented above -->
- [x] I read and understood the [contributing guide](https://github.com/CodeEditApp/CodeEdit/blob/main/CONTRIBUTING.md) as well as the [code of conduct](https://github.com/CodeEditApp/CodeEdit/blob/main/CODE_OF_CONDUCT.md)
- [x] The issues this PR addresses are related to each other
- [x] My changes generate no new warnings
- [x] My code builds and runs on my machine
- [x] My changes are all related to the related issue above
- [x] I documented my code
### Screenshots
<!--- REQUIRED: if issue is UI related -->
https://github.com/CodeEditApp/CodeEdit/assets/65467530/166d9b35-ede1-47b8-8814-cf1cbb1a61f2
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
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
The text was updated successfully, but these errors were encountered: