From 36a02d2f8c60c7f25185ea71553d66d2dd7928a0 Mon Sep 17 00:00:00 2001 From: Rob Parrett Date: Tue, 31 Dec 2024 06:55:55 -0700 Subject: [PATCH] Fix missing Default impl on TextInput --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 6ac3473..bcb2a7e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -95,7 +95,7 @@ const CURSOR_HANDLE: Handle = Handle::weak_from_u128(10482756907980398621) /// commands.spawn((NodeBundle::default(), TextInput)); /// } /// ``` -#[derive(Component)] +#[derive(Component, Default)] #[require( TextInputSettings, TextInputTextFont,