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:
@@ -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 {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user