agent: Ensure background color is the same even while zoomed in (#30804)

Release Notes:

- agent: Fixed the background color of the agent panel changing if you
zoomed it in.
This commit is contained in:
Danilo Leal 2025-05-16 06:48:22 -03:00 committed by GitHub
parent dfe37b0a07
commit 0f4e52bde8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -3417,6 +3417,7 @@ impl Render for ActiveThread {
v_flex()
.size_full()
.relative()
.bg(cx.theme().colors().panel_background)
.on_mouse_move(cx.listener(|this, _, _, cx| {
this.show_scrollbar = true;
this.hide_scrollbar_later(cx);

View file

@ -2135,6 +2135,7 @@ impl AgentPanel {
v_flex()
.size_full()
.bg(cx.theme().colors().panel_background)
.when(recent_history.is_empty(), |this| {
let configuration_error_ref = &configuration_error;
this.child(