agent: Fix edit bar's background color when zoomed in (#34163)

When the panel was zoomed in, the edit bar's background color would have
a different color than the rest of the panel. This PR fixes it by using
the `panel_background` color token.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-07-09 20:25:56 -03:00 committed by GitHub
parent 9b63ba6205
commit 95784d53ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 15 additions and 18 deletions

View file

@ -1622,6 +1622,7 @@ impl Render for MessageEditor {
v_flex()
.size_full()
.bg(cx.theme().colors().panel_background)
.when(changed_buffers.len() > 0, |parent| {
parent.child(self.render_edits_bar(&changed_buffers, window, cx))
})