Skip to content
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

"Manual UI" entry in README is out-of-date. #167

Closed
andriyDev opened this issue Nov 23, 2023 · 2 comments · Fixed by #177
Closed

"Manual UI" entry in README is out-of-date. #167

andriyDev opened this issue Nov 23, 2023 · 2 comments · Fixed by #177

Comments

@andriyDev
Copy link

bevy_egui::EguiContext is no longer a resource. This makes the example code not work!

@ASoldo
Copy link

ASoldo commented Nov 27, 2023

Same here.

cbrown1234 added a commit to cbrown1234/bevy-inspector-egui that referenced this issue Dec 24, 2023
@cbrown1234
Copy link
Contributor

Found an example that did the same thing:

let mut egui_context = world
.query_filtered::<&mut EguiContext, With<PrimaryWindow>>()
.single(world)
.clone();
egui::SidePanel::left("hierarchy")
.default_width(200.0)
.show(egui_context.get_mut(), |ui| {

I've raised a PR to fix it

jakobhellermann pushed a commit that referenced this issue Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants