diff --git a/src/widgets/button.rs b/src/widgets/button.rs index c55444d..f9608ef 100644 --- a/src/widgets/button.rs +++ b/src/widgets/button.rs @@ -490,7 +490,6 @@ impl Widget for Button { _is_synthetic: bool, context: &mut EventContext<'_, '_>, ) -> EventHandling { - // TODO should this be handled at the window level? if input.text.as_deref() == Some(" ") && !context.modifiers().possible_shortcut() { let changed = match input.state { ElementState::Pressed => { diff --git a/src/widgets/stack.rs b/src/widgets/stack.rs index 850b0cd..6ff39ce 100644 --- a/src/widgets/stack.rs +++ b/src/widgets/stack.rs @@ -23,7 +23,6 @@ pub struct Stack { pub gutter: Value, layout: GridLayout, layout_generation: Option, - // TODO Refactor synced_children into its own type. synced_children: Vec, }