@@ -324,9 +324,9 @@ fn update_buttons(
324324 }
325325 Interaction :: Hovered => {
326326 if let Ok ( children) = children_query. get ( button_id) {
327- for & child in children {
327+ for child in children {
328328 if let Ok ( grand_children) = children_query. get ( child) {
329- for & grandchild in grand_children {
329+ for grandchild in grand_children {
330330 if let Ok ( mut text) = text_query. get_mut ( grandchild) {
331331 if text. sections [ 0 ] . style . color != ACTIVE_TEXT_COLOR {
332332 text. sections [ 0 ] . style . color = HOVERED_TEXT_COLOR ;
@@ -339,9 +339,9 @@ fn update_buttons(
339339 }
340340 Interaction :: None => {
341341 if let Ok ( children) = children_query. get ( button_id) {
342- for & child in children {
342+ for child in children {
343343 if let Ok ( grand_children) = children_query. get ( child) {
344- for & grandchild in grand_children {
344+ for grandchild in grand_children {
345345 if let Ok ( mut text) = text_query. get_mut ( grandchild) {
346346 if text. sections [ 0 ] . style . color != ACTIVE_TEXT_COLOR {
347347 text. sections [ 0 ] . style . color = UNHOVERED_TEXT_COLOR ;
@@ -383,9 +383,9 @@ fn update_radio_buttons_colors(
383383 } ;
384384
385385 border_query. get_mut ( id) . unwrap ( ) . 0 = border_color;
386- for & child in children_query. get ( id) . into_iter ( ) . flatten ( ) {
386+ for child in children_query. get ( id) . into_iter ( ) . flatten ( ) {
387387 color_query. get_mut ( child) . unwrap ( ) . 0 = inner_color;
388- for & grandchild in children_query. get ( child) . into_iter ( ) . flatten ( ) {
388+ for grandchild in children_query. get ( child) . into_iter ( ) . flatten ( ) {
389389 if let Ok ( mut text) = text_query. get_mut ( grandchild) {
390390 text. sections [ 0 ] . style . color = text_color;
391391 }
0 commit comments