Make the Zed2 window movable (#3218)

This PR makes the Zed2 window movable and fixes a crash related to a
`todo!()` that wasn't necessary.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2023-11-02 21:17:31 +01:00 committed by GitHub
parent 6eeaa64e62
commit 54969877a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 14 deletions

View file

@ -1043,9 +1043,9 @@ impl Workspace {
// dock.update(cx, |dock, cx| dock.add_panel(panel, cx));
// }
// pub fn status_bar(&self) -> &View<StatusBar> {
// &self.status_bar
// }
pub fn status_bar(&self) -> &View<StatusBar> {
&self.status_bar
}
pub fn app_state(&self) -> &Arc<AppState> {
&self.app_state