mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Add missing dependencies to bevy_text
feature (#8920)
# Objective - Fixes #8918. - The app should not crash if only the `bevy_text` feature is enabled. ## Solution The `bevy_text` feature now depends on `bevy_asset` and `bevy_sprite`, because it uses resources from these crates.
This commit is contained in:
parent
ee1368a032
commit
0f242eae5d
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ bevy_scene = ["bevy_internal/bevy_scene", "bevy_asset"]
|
|||
bevy_sprite = ["bevy_internal/bevy_sprite", "bevy_render", "bevy_core_pipeline"]
|
||||
|
||||
# Provides text functionality
|
||||
bevy_text = ["bevy_internal/bevy_text"]
|
||||
bevy_text = ["bevy_internal/bevy_text", "bevy_asset", "bevy_sprite"]
|
||||
|
||||
# A custom ECS-driven UI framework
|
||||
bevy_ui = ["bevy_internal/bevy_ui", "bevy_core_pipeline", "bevy_text", "bevy_sprite"]
|
||||
|
|
Loading…
Reference in a new issue