From 622ed8a0325dab3a93a3cfd2e83f5953102b2983 Mon Sep 17 00:00:00 2001 From: loczek <30776250+loczek@users.noreply.github.com> Date: Fri, 7 Mar 2025 03:27:29 +0100 Subject: [PATCH] git: Fix git panel not using default width (#26220) Closes #26062 Removing the width here causes zed to use the default value (inside default settings) after restart like other panels. Release Notes: - Fixed issue where git panel wasn't using default width after restart Co-authored-by: Mikayla Maki --- crates/git_ui/src/git_panel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/git_ui/src/git_panel.rs b/crates/git_ui/src/git_panel.rs index d1d9e9a8c4d10e0840c40aa3ed9c96a3958ecb95..eb0f22294d011980622d7829b908f1b8e849fb9b 100644 --- a/crates/git_ui/src/git_panel.rs +++ b/crates/git_ui/src/git_panel.rs @@ -374,7 +374,7 @@ impl GitPanel { tracked_count: 0, tracked_staged_count: 0, update_visible_entries_task: Task::ready(()), - width: Some(px(360.)), + width: None, context_menu: None, workspace, modal_open: false,