-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - Fix bevy_ui
compile error without bevy_text
#7877
[Merged by Bors] - Fix bevy_ui
compile error without bevy_text
#7877
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've taken a look: it appears that all of the currently included accessibility features are text-reliant. As a result, this fix appears correct to me.
Ping @ndarilek for review if you're able. |
Thanks for the ping. LGTM--not sure how or if I can approve a PR but I certainly do this one. :) |
You can under the tab "Files changed" and then the "Review changes" button offers the option to Approve, Request Changes or just leave Comments :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, well, LGTM again. :) Thanks!
bors r+ |
# Objective - Fixes #7874. - The `bevy_text` dependency is optional for `bevy_ui`, but the `accessibility` module depended on it. ## Solution - Guard the `accessibility` module behind the `bevy_text` feature and only add the plugin when it's enabled.
bevy_ui
compile error without bevy_text
bevy_ui
compile error without bevy_text
# Objective - Fixes bevyengine#7874. - The `bevy_text` dependency is optional for `bevy_ui`, but the `accessibility` module depended on it. ## Solution - Guard the `accessibility` module behind the `bevy_text` feature and only add the plugin when it's enabled.
Objective
bevy_ui
#7874.bevy_text
dependency is optional forbevy_ui
, but theaccessibility
module depended on it.Solution
accessibility
module behind thebevy_text
feature and only add the plugin when it's enabled.