From 2575deecf87ec01ad525d61b06869c925933b6d4 Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Wed, 20 Dec 2023 11:03:48 -0800 Subject: [PATCH] Removed TODOs that are now issues --- src/widgets/button.rs | 1 - src/widgets/stack.rs | 1 - 2 files changed, 2 deletions(-) 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, }