Apply review fixes

- crates/engine/src/cmd/format/font.rs
This commit is contained in:
autocraft-bot[bot]
2026-11-12 07:46:39 +00:00
parent 1d608bb464
commit b73a53df3d
+1
View File
@@ -114,6 +114,7 @@ pub(super) fn color(s: &mut Session, p: &Value) -> Result<Value> {
edit_shapes(s, &json!({"ids": charts}), "format.color", |sh| {
if let ShapeKind::Chart(ch) = &mut sh.kind {
ch.text_color = Some(tc.clone());
ch.legend_entries.iter_mut().for_each(|e| e.color = None);
ch.raw = None;
}
Ok(())