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:
parent
15445c990e
commit
f4fdbef60b
@ -1,7 +1,9 @@
|
|||||||
//! This module contains basic node bundles used to build UIs
|
//! This module contains basic node bundles used to build UIs
|
||||||
|
|
||||||
|
#[cfg(feature = "bevy_text")]
|
||||||
|
use crate::widget::TextFlags;
|
||||||
use crate::{
|
use crate::{
|
||||||
widget::{Button, TextFlags, UiImageSize},
|
widget::{Button, UiImageSize},
|
||||||
BackgroundColor, BorderColor, ContentSize, FocusPolicy, Interaction, Node, Style, UiImage,
|
BackgroundColor, BorderColor, ContentSize, FocusPolicy, Interaction, Node, Style, UiImage,
|
||||||
UiTextureAtlasImage, ZIndex,
|
UiTextureAtlasImage, ZIndex,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user