acp: Keep diff editors in sync with AgentFontSize global (#37559)

Release Notes:

- agent: Fixed `cmd-+` and `cmd--` not affecting the font size of diffs.
This commit is contained in:
Cole Miller
2025-09-04 18:33:56 +00:00
committed by GitHub
parent 9e11105483
commit 9d94358971
3 changed files with 9 additions and 7 deletions
+2 -1
View File
@@ -253,8 +253,9 @@ pub(crate) struct UiFontSize(Pixels);
impl Global for UiFontSize {}
/// In-memory override for the font size in the agent panel.
#[derive(Default)]
pub(crate) struct AgentFontSize(Pixels);
pub struct AgentFontSize(Pixels);
impl Global for AgentFontSize {}