diff --git a/src/widgets/mod.rs b/src/widgets/mod.rs index b33c989..7cc33b7 100644 --- a/src/widgets/mod.rs +++ b/src/widgets/mod.rs @@ -96,7 +96,7 @@ impl BigRedButton { /// I haven't figure out what will receive the on-press events, so I'm moving /// the problem. It will not be the button's job to hook up the event notice. /// - /// TODO: Pass in the UiTheme struct + /// TODO: Pass in the UiTheme struct fn bundle(text: impl Into) -> impl Bundle { ( // TODO: Remove `Button`? Add `Button` to the `CloseButton` bundle? @@ -184,7 +184,7 @@ impl BigRedButton { pub struct CloseButton(Entity); impl CloseButton { - /// Spawn a button that will despawn the top-most node when pressed. + /// Default bundle for a panel's close button. Pass in the entity to despawn. /// /// TODO: Pass in the UiTheme struct fn bundle(target: Entity) -> impl Bundle {