Skip to content

Commit

Permalink
Fix missing bevy_text feature cfg attribute (#8670)
Browse files Browse the repository at this point in the history
# Objective

The `TextFlags` import in `bevy_ui::node_bundles` is missing the
`#[cfg(feature = "bevy_text")]` attribute.
  • Loading branch information
ickshonpe authored Jun 29, 2023
1 parent 15445c9 commit f4fdbef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/bevy_ui/src/node_bundles.rs
Original file line number Diff line number Diff line change
@@ -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,
};
Expand Down

0 comments on commit f4fdbef

Please sign in to comment.