Fix missing bevy_text feature cfg attribute (#8670)

# Objective

The `TextFlags` import in `bevy_ui::node_bundles` is missing the
`#[cfg(feature = "bevy_text")]` attribute.
This commit is contained in:
ickshonpe 2023-06-29 01:33:35 +01:00 committed by GitHub
parent 15445c990e
commit f4fdbef60b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,9 @@
//! This module contains basic node bundles used to build UIs
#[cfg(feature = "bevy_text")]
use crate::widget::TextFlags;
use crate::{
widget::{Button, TextFlags, UiImageSize},
widget::{Button, UiImageSize},
BackgroundColor, BorderColor, ContentSize, FocusPolicy, Interaction, Node, Style, UiImage,
UiTextureAtlasImage, ZIndex,
};