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 <mikayla@zed.dev>
This commit is contained in:
loczek 2025-03-07 03:27:29 +01:00 committed by GitHub
parent 09c51f9641
commit 622ed8a032
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,