Register missing bevy_text types (#6029)

Register two missing bevy_text types.
This commit is contained in:
Jakub Łabor 2022-09-19 22:50:35 +00:00
parent 28205fd3f4
commit 7d5a7cc76d

View File

@ -62,6 +62,8 @@ impl Plugin for TextPlugin {
.add_asset::<FontAtlasSet>() .add_asset::<FontAtlasSet>()
.register_type::<Text>() .register_type::<Text>()
.register_type::<TextSection>() .register_type::<TextSection>()
.register_type::<Vec<TextSection>>()
.register_type::<TextStyle>()
.register_type::<TextAlignment>() .register_type::<TextAlignment>()
.register_type::<VerticalAlign>() .register_type::<VerticalAlign>()
.register_type::<HorizontalAlign>() .register_type::<HorizontalAlign>()