FIX: Sets the patternFill to solid when changing the background color

This commit is contained in:
Nicolás Hatcher
2024-10-10 18:38:26 +02:00
committed by Nicolás Hatcher Andrés
parent 4016eb5944
commit f26cdd3a4b
3 changed files with 11 additions and 0 deletions

View File

@@ -882,9 +882,11 @@ impl UserModel {
}
"fill.bg_color" => {
style.fill.bg_color = color(value)?;
style.fill.pattern_type = "solid".to_string();
}
"fill.fg_color" => {
style.fill.fg_color = color(value)?;
style.fill.pattern_type = "solid".to_string();
}
"num_fmt" => {
value.clone_into(&mut style.num_fmt);