Skip to content

Commit 3eb5cfc

Browse files
authored
TextFont doc comment fix (#20971)
# Objective Correction for `TextFont`'s doc comments, it does not determine the text's color.
1 parent fe7b780 commit 3eb5cfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_text/src/text.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ impl From<Justify> for cosmic_text::Align {
243243
}
244244

245245
/// `TextFont` determines the style of a text span within a [`ComputedTextBlock`], specifically
246-
/// the font face, the font size, and the color.
246+
/// the font face, the font size, the line height, and the antialiasing method.
247247
#[derive(Component, Clone, Debug, Reflect, PartialEq)]
248248
#[reflect(Component, Default, Debug, Clone)]
249249
pub struct TextFont {

0 commit comments

Comments
 (0)