Skip to content
Snippets Groups Projects
Unverified Commit 5d4ca7a1 authored by John's avatar John Committed by GitHub
Browse files

Merge pull request #213 from NoahShomette/patch-1

update book chapter 3 button render system to return bool
parents fda188d4 de2cd8a4
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ pub fn my_button_render(
mut commands: Commands,
// In this case we really only care about our buttons children! Let's query for them.
mut query: Query<&KChildren>,
) {
) -> bool {
// Grab our children for our button widget:
if let Ok(children) = query.get(entity) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment