File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/bevy_core_widgets/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ use bevy_input::keyboard::{KeyCode, KeyboardInput};
15
15
use bevy_input:: ButtonState ;
16
16
use bevy_input_focus:: FocusedInput ;
17
17
use bevy_picking:: events:: { Click , Pointer } ;
18
- use bevy_ui:: { Checked , InteractionDisabled } ;
18
+ use bevy_ui:: { Checkable , Checked , InteractionDisabled } ;
19
19
20
20
/// Headless widget implementation for a "radio button group". This component is used to group
21
21
/// multiple [`CoreRadio`] components together, allowing them to behave as a single unit. It
@@ -46,7 +46,7 @@ pub struct CoreRadioGroup {
46
46
/// but rather the enclosing group should be focusable.
47
47
/// See <https://www.w3.org/WAI/ARIA/apg/patterns/radio>/
48
48
#[ derive( Component , Debug ) ]
49
- #[ require( AccessibilityNode ( accesskit:: Node :: new( Role :: RadioButton ) ) , Checked ) ]
49
+ #[ require( AccessibilityNode ( accesskit:: Node :: new( Role :: RadioButton ) ) , Checkable ) ]
50
50
pub struct CoreRadio ;
51
51
52
52
fn radio_group_on_key_input (
You can’t perform that action at this time.
0 commit comments