Fix doc on CloseButton::bundle()
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user