Add missing bevy_text feature attribute to TextBundle from impl (#9785)

# Objective

Add the `bevy_text` feature attribute to the `TextBundle` from impl in
node_bundle.rs.
This commit is contained in:
ickshonpe 2023-09-13 20:24:24 +01:00 committed by GitHub
parent 5eb6889832
commit ca46d7c357
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -268,6 +268,7 @@ impl TextBundle {
} }
} }
#[cfg(feature = "bevy_text")]
impl<I> From<I> for TextBundle impl<I> From<I> for TextBundle
where where
I: Into<TextSection>, I: Into<TextSection>,