This commit is contained in:
Nathan Sobo
2023-09-14 16:52:04 -06:00
parent 1f9b52d5e1
commit 378b2fbd9e
6 changed files with 487 additions and 6 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ impl Style {
color: self.text_color.map(Into::into),
font_family: self.font_family.clone(),
font_size: self.font_size.map(|size| size * cx.rem_size()),
font_weight: self.font_weight,
font_weight: self.font_weight.map(Into::into),
font_style: self.font_style,
underline: None,
})